ButtonPlus constructor

ButtonPlus({
  1. Key? key,
  2. Widget? child,
  3. EdgeInsets padding = EdgeInsets.zero,
  4. EdgeInsets? margin,
  5. double? height,
  6. double? width,
  7. Color? color,
  8. Color? disabledBackgroundColor,
  9. Alignment? alignment,
  10. bool isCenter = false,
  11. bool isExpanded = false,
  12. bool isCircle = false,
  13. bool? enabled,
  14. dynamic onPressed()?,
  15. dynamic onLongPress()?,
  16. Color? splashColor,
  17. Color? highlightColor,
  18. Color? focusColor,
  19. Color? hoverColor,
  20. RadiusPlus? radius,
  21. BorderPlus? border,
  22. List<ShadowPlus>? shadows,
  23. GradientPlus? gradient,
  24. DecorationImage? image,
  25. SkeletonPlus? skeleton,
  26. 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,
});