SkFilledButton constructor

const SkFilledButton({
  1. Key? key,
  2. required String label,
  3. Color? backgroundColor,
  4. Color? textColor,
  5. double? w,
  6. double? h,
  7. double? borderRadius,
  8. TextStyle? textStyle,
  9. EdgeInsetsGeometry? padding,
  10. double? elevation,
  11. BorderSide? border,
  12. ShapeBorder? shape,
  13. required VoidCallback? onTap,
  14. VoidCallback? onLongPress,
  15. FocusNode? focusNode,
  16. bool autofocus = false,
  17. MouseCursor? mouseCursor,
})

Implementation

const SkFilledButton({
  super.key,
  required this.label,
  this.backgroundColor,
  this.textColor,
  this.w,
  this.h,
  this.borderRadius,
  this.textStyle,
  this.padding,
  this.elevation,
  this.border,
  this.shape,
  required this.onTap,
  this.onLongPress,
  this.focusNode,
  this.autofocus = false,
  this.mouseCursor,
});