ButtonPlus constructor
ButtonPlus({
- Key? key,
- Widget? child,
- EdgeInsets padding = EdgeInsets.zero,
- EdgeInsets? margin,
- double? height,
- double? width,
- Color? color,
- Color? disabledBackgroundColor,
- Alignment? alignment,
- bool isCenter = false,
- bool isExpanded = false,
- bool isCircle = false,
- bool? enabled,
- dynamic onPressed()?,
- dynamic onLongPress()?,
- Color? splashColor,
- Color? highlightColor,
- Color? focusColor,
- Color? hoverColor,
- RadiusPlus? radius,
- BorderPlus? border,
- List<
ShadowPlus> ? shadows, - GradientPlus? gradient,
- DecorationImage? image,
- SkeletonPlus? skeleton,
- List<
InnerShadowPlus> ? innerShadows,
Implementation
ButtonPlus({
Key? key,
this.child,
this.padding = EdgeInsets.zero,
this.margin,
this.height,
this.width,
this.color,
this.disabledBackgroundColor,
this.alignment,
//bools
this.isCenter = false,
this.isExpanded = false,
this.isCircle = false,
this.enabled,
// actions
this.onPressed,
this.onLongPress,
this.splashColor,
this.highlightColor,
this.focusColor,
this.hoverColor,
// Plus
this.radius,
this.border,
this.shadows,
this.gradient,
this.image,
this.skeleton,
this.innerShadows,
});