FitButton constructor

const FitButton({
  1. Key? key,
  2. dynamic onTap()?,
  3. required Widget child,
  4. dynamic onLongPress()?,
  5. EdgeInsets? margin,
  6. EdgeInsets? padding,
  7. double? width,
  8. double? height,
  9. Color? color,
})

Creates a new FitButton.

Implementation

const FitButton({
  super.key,
  this.onTap,
  required this.child,
  this.onLongPress,
  this.margin,
  this.padding,
  this.width,
  this.height,
  this.color,
});