AppButton.tonal constructor
const
AppButton.tonal({
- required Widget child,
- Color? fillColor,
- Color? hoverColor,
- bool? loading,
- Size? minimumSize,
- EdgeInsets? padding,
- ValueChanged<
bool> ? onHover, - FutureOrCallback? onPressed,
- FutureOrCallback? onPressedDisabled,
- bool showAnimation = true,
- Key? key,
Implementation
const AppButton.tonal({
required this.child,
this.fillColor,
this.hoverColor,
this.loading,
this.minimumSize,
this.padding,
this.onHover,
this.onPressed,
this.onPressedDisabled,
this.showAnimation = true,
super.key,
}) : type = AppButtonType.tonal;