UITextButtonThemeData.config constructor

const UITextButtonThemeData.config({
  1. double? spacing = 4,
  2. String? fontFamily = '',
  3. Color? foregroundColor = Colors.black,
  4. TextStyle? textStyle = const TextStyle(fontSize: 16),
  5. UIIconThemeData? leftSuffixIcon = const UIIconThemeData.icon(iconSize: 16),
  6. UIIconThemeData? rightSuffixIcon = const UIIconThemeData.icon(iconSize: 16),
  7. 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,
  ),
});