TButtonTheme constructor

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

Implementation

const TButtonTheme({
  this.type = TButtonType.solid,
  this.size = TButtonSize.md,
  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,
});