TButtonTheme constructor

const TButtonTheme({
  1. required TWidgetTheme baseTheme,
  2. required TButtonType type,
  3. required TButtonSize size,
  4. required Color color,
  5. OutlinedBorder? shape,
  6. double? borderRadius = 6.0,
  7. double? elevation = 0.0,
  8. Duration? animationDuration = const Duration(milliseconds: 100),
  9. Curve? animationCurve = Curves.easeInOut,
  10. double? scaleOnPress = 0.95,
  11. WidgetStateProperty<TextStyle?>? textStyle,
  12. WidgetStateProperty<Color?>? shadowColor,
})

Implementation

const TButtonTheme({
  required this.baseTheme,
  required this.type,
  required this.size,
  required this.color,
  this.shape,
  this.borderRadius = 6.0,
  this.elevation = 0.0,
  this.animationDuration = const Duration(milliseconds: 100),
  this.animationCurve = Curves.easeInOut,
  this.scaleOnPress = 0.95,
  this.textStyle,
  this.shadowColor,
});