ExpandedText constructor
ExpandedText(
- String text, {
- Key? key,
- TextStyle? style,
- Alignment alignment = Alignment.centerLeft,
- int flex = 1,
- Color? backgroundColor,
- Decoration? decoration,
- EdgeInsetsGeometry padding = EdgeInsets.zero,
- EdgeInsetsGeometry textPadding = EdgeInsets.zero,
Implementation
ExpandedText(this.text,
{super.key,
TextStyle? style,
this.alignment = Alignment.centerLeft,
this.flex = 1,
this.backgroundColor,
this.decoration,
this.padding = EdgeInsets.zero,
this.textPadding = EdgeInsets.zero})
: style = style ?? Get.find<AppFonts>().S();