IndicatorButton constructor

const IndicatorButton({
  1. required Widget child,
  2. required IndicatorButtonPressed? onPressed,
  3. EdgeInsetsGeometry? margin,
  4. EdgeInsetsGeometry? padding,
  5. Color? color,
  6. Color? disabledColor,
  7. BorderRadius? borderRadius,
  8. double? width,
  9. double? height,
  10. Widget? activityIndicator,
  11. double? minWidth,
  12. Decoration? decoration,
  13. bool isIndicatorVisibleInLoading = true,
  14. Key? key,
})

Implementation

const IndicatorButton({
  required this.child,
  required this.onPressed,
  this.margin,
  this.padding,
  this.color,
  this.disabledColor,
  this.borderRadius,
  this.width,
  this.height,
  this.activityIndicator,
  this.minWidth,
  this.decoration,
  this.isIndicatorVisibleInLoading = true,
  Key? key,
}) : super(key: key);