ThemeableTextButton constructor
Implementation
ThemeableTextButton(
{super.key,
required super.onPressed,
required super.child,
required Color bg,
TextStyle? textStyle,
required Color fg})
: super(
style: ButtonStyle(
iconColor: WidgetStatePropertyAll<Color>(fg),
textStyle:
WidgetStatePropertyAll<TextStyle>(textStyle ?? TextStyle(color: fg)),
backgroundColor: WidgetStatePropertyAll<Color>(bg)));