GNClearButton constructor

const GNClearButton({
  1. Key? key,
  2. required String title,
  3. required dynamic onPressed()?,
  4. Color? backgroundColor,
  5. Color? fontColor,
  6. EdgeInsets? padding,
  7. double? fontSize,
  8. double? elevation,
  9. OutlinedBorder? shape,
  10. Color? borderColor,
  11. double? borderWidth,
  12. double? minHeight,
  13. double? minWidth,
  14. VisualDensity? visualDensity,
})

Implementation

const GNClearButton(
    {super.key,
    required this.title,
    required this.onPressed,
    this.backgroundColor,
    this.fontColor,
    this.padding,
    this.fontSize,
    this.elevation,
    this.shape,
    this.borderColor,
    this.borderWidth,
    this.minHeight,
    this.minWidth, this.visualDensity});