getTextStyle method
getTextStyle() a method which returns the textStyle.
For more info about textStyle take a look on textStyle
Implementation
@override
TextStyle getTextStyle() {
return resolvedTextStyle(
buttonType: style!.buttonType,
iconType: style!.iconType,
enabled: enabled,
fontWeight: FontWeight.bold,
textColor: TextColor(
Colors.white,
onSecondaryIcon: darkMode ? Colors.white : Colors.blue[800],
),
);
}