UITextButtonThemeData.config constructor
const
UITextButtonThemeData.config({
- double? spacing = 4,
- String? fontFamily = '',
- Color? foregroundColor = Colors.black,
- TextStyle? textStyle = const TextStyle(fontSize: 16),
- UIIconThemeData? leftSuffixIcon = const UIIconThemeData.icon(iconSize: 16),
- UIIconThemeData? rightSuffixIcon = const UIIconThemeData.icon(iconSize: 16),
- UILoadingThemeData? loadingThemeData = const UILoadingThemeData.config(size: 20),
Implementation
const UITextButtonThemeData.config({
this.spacing = 4,
this.fontFamily = '',
this.foregroundColor = Colors.black,
this.textStyle = const TextStyle(fontSize: 16),
this.leftSuffixIcon = const UIIconThemeData.icon(
iconSize: 16,
),
this.rightSuffixIcon = const UIIconThemeData.icon(
iconSize: 16,
),
this.loadingThemeData = const UILoadingThemeData.config(
size: 20,
),
});