FlexiButton constructor
const
FlexiButton({
- Key? key,
- EdgeInsets? contentPadding,
- EdgeInsets? buttonPadding = EdgeInsets.zero,
- bool? isFlexible = false,
- Widget? icon,
- required Widget? child,
- Color? buttonColor,
- Color? iconColor,
- Color? textColor,
- BorderRadiusGeometry? borderRadius,
- BorderSide? side = BorderSide.none,
- double? elevation = 2,
- double? iconSize = 10,
- TextStyle? style,
- required dynamic onPressed()?,
Implementation
const FlexiButton(
{super.key,
this.contentPadding,
this.buttonPadding = EdgeInsets.zero,
this.isFlexible = false,
this.icon,
required this.child,
this.buttonColor,
this.iconColor,
this.textColor,
this.borderRadius,
this.side = BorderSide.none,
this.elevation = 2,
this.iconSize = 10,
this.style,
required this.onPressed});