SpaceJamButton constructor
const
SpaceJamButton({
- required double valueFontSize,
- required double titleFontSize,
- Color backgroundColor = Colors.white12,
- DecorationImage? backgroundImage,
- TextStyle valueTextStyle = const TextStyle(color: Colors.white, fontWeight: FontWeight.bold),
- TextStyle titleTextStyle = const TextStyle(color: Colors.white70, fontWeight: FontWeight.bold),
- String tooltip = "",
- String? title,
- IconStyle iconStyle = const IconStyle(),
- AutoSizeTextStyle autoSizeTextStyle = const AutoSizeTextStyle(),
- VoidCallback? action,
- AutoSizeGroup? valueSizeGroup,
- dynamic value,
- String? semanticLabel,
- Key? key,
Constructor
Implementation
const SpaceJamButton({
required this.valueFontSize,
required this.titleFontSize,
this.backgroundColor = Colors.white12,
this.backgroundImage,
this.valueTextStyle = const TextStyle(
color: Colors.white,
fontWeight: FontWeight.bold,
),
this.titleTextStyle =
const TextStyle(color: Colors.white70, fontWeight: FontWeight.bold),
this.tooltip = "",
this.title,
this.iconStyle = const IconStyle(),
this.autoSizeTextStyle = const AutoSizeTextStyle(),
this.action,
this.valueSizeGroup,
this.value,
this.semanticLabel,
Key? key,
}) : super(key: key);