I think this is something along the line of what you are looking for:
class Blabel1 extends Blabel {
final TextDirection textDirection; // example of new property
Blabel1({
String text,
TextStyle style,
this.textDirection,
}) : super(text: text, style: style);
@override
Widget build(BuildContext context) {
// You can change the build method to change the UI from Blabe
return Text(
text,
style: style ?? CtrBlblStyle(),
);
}
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…