SmoothSimpleButton constructor

const SmoothSimpleButton({
  1. required Widget child,
  2. required VoidCallback? onPressed,
  3. double minWidth = 15.0,
  4. double height = 20.0,
  5. BorderRadiusGeometry? borderRadius,
  6. EdgeInsetsGeometry padding = const EdgeInsetsDirectional.all(BALANCED_SPACE),
  7. Color? buttonColor,
  8. WidgetStateProperty<double?>? elevation,
})

Implementation

const SmoothSimpleButton({
  required this.child,
  required this.onPressed,
  this.minWidth = 15.0,
  this.height = 20.0,
  this.borderRadius,
  this.padding = const EdgeInsetsDirectional.all(BALANCED_SPACE),
  this.buttonColor,
  this.elevation,
});