SpaceJamButton constructor

const SpaceJamButton({
  1. required double valueFontSize,
  2. required double titleFontSize,
  3. Color backgroundColor = Colors.white12,
  4. DecorationImage? backgroundImage,
  5. TextStyle valueTextStyle = const TextStyle(color: Colors.white, fontWeight: FontWeight.bold),
  6. TextStyle titleTextStyle = const TextStyle(color: Colors.white70, fontWeight: FontWeight.bold),
  7. String tooltip = "",
  8. String? title,
  9. IconStyle iconStyle = const IconStyle(),
  10. AutoSizeTextStyle autoSizeTextStyle = const AutoSizeTextStyle(),
  11. VoidCallback? action,
  12. AutoSizeGroup? valueSizeGroup,
  13. dynamic value,
  14. String? semanticLabel,
  15. 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);