TButtonTheme constructor
const
TButtonTheme({
- TButtonType type = TButtonType.solid,
- TButtonSize size = TButtonSize.md,
- OutlinedBorder? shape,
- double? borderRadius = 6.0,
- double? elevation = 0.0,
- Duration? animationDuration = const Duration(milliseconds: 100),
- Curve? animationCurve = Curves.easeInOut,
- double? scaleOnPress = 0.95,
- WidgetStateProperty<
TextStyle?> ? textStyle, - 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,
});