SuperText constructor
const
SuperText(
- String text, {
- Key? key,
- ChildPosition childPosition = ChildPosition.left,
- Widget? child,
- double childSpace = 0,
- TextStyle? style,
- double? width,
- double? height,
- EdgeInsetsGeometry padding = const EdgeInsets.all(0),
- EdgeInsetsGeometry margin = const EdgeInsets.all(0),
- Color? bgColor,
- AlignmentGeometry? align,
- BorderRadiusGeometry? borderRadius,
- Gradient? gradient,
- BoxBorder? border,
- VoidCallback? onTap,
- VoidCallback? onLongPress,
- bool hasInkWell = false,
- bool spaceBetween = false,
- double shadow = 0,
- double? radius,
- BoxConstraints? constraints,
- Color? borderColor,
- double borderWidth = 0.0,
- bool disabled = false,
- bool expand = false,
Implementation
const SuperText(this.text,
{super.key,
this.childPosition = ChildPosition.left,
this.child,
this.childSpace = 0,
this.style,
this.width,
this.height,
this.padding = const EdgeInsets.all(0),
this.margin = const EdgeInsets.all(0),
this.bgColor,
this.align,
this.borderRadius,
this.gradient,
this.border,
this.onTap,
this.onLongPress,
this.hasInkWell = false,
this.spaceBetween = false,
this.shadow = 0,
this.radius,
this.constraints,
this.borderColor,
this.borderWidth = 0.0,
this.disabled = false,
this.expand = false});