AppButton.elevated constructor

const AppButton.elevated({
  1. required Widget child,
  2. Color? fillColor,
  3. Color? hoverColor,
  4. bool? loading,
  5. Size? minimumSize,
  6. EdgeInsets? padding,
  7. ValueChanged<bool>? onHover,
  8. FutureOrCallback? onPressed,
  9. FutureOrCallback? onPressedDisabled,
  10. bool showAnimation = true,
  11. Key? key,
})

Implementation

const AppButton.elevated({
  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.elevated;