CustomTileButton constructor
const
CustomTileButton({
- Key? key,
- Function? onPressed,
- String? text,
- TextStyle? textStyle,
- TextAlign? textAlign = TextAlign.start,
- Color? textColor,
- Color? backgroundColor,
- Color? overlayColor,
- Widget? child,
- Widget? leftIcon,
- Widget? rightIcon,
- bool disabled = false,
- EdgeInsets? margin,
- EdgeInsets? padding,
- double? height,
- double? width,
- double? elevation,
- int? flex,
- BorderRadius? borderRadius,
- BorderSide? border,
- VisualDensity? visualDensity,
- ButtonStyle? buttonStyle,
- String? textTitle,
- String? textSubtitle,
- bool invertTitlePosition = false,
- TextStyle? subtitleStyle,
- TextOverflow textOverflow = TextOverflow.clip,
- bool softWrap = false,
- Color? subtitleColor,
Implementation
const CustomTileButton({
Key? key,
super.onPressed,
super.text,
super.textStyle,
super.textAlign = TextAlign.start,
super.textColor,
super.backgroundColor,
super.overlayColor,
super.child,
super.leftIcon,
super.rightIcon,
super.disabled = false,
super.margin,
super.padding,
super.height,
super.width,
super.elevation,
super.flex,
super.borderRadius,
super.border,
super.visualDensity,
super.buttonStyle,
this.textTitle,
this.textSubtitle,
this.invertTitlePosition = false,
this.subtitleStyle,
this.textOverflow = TextOverflow.clip,
this.softWrap = false,
this.subtitleColor
}) : super(key: key);