HorizontalFillButton constructor

const HorizontalFillButton({
  1. Key? key,
  2. required double? buttonWidth,
  3. required double? buttonHeight,
  4. required Color? filledColor,
  5. required Duration? fillingDuration,
  6. required Curve? curve,
  7. required VoidCallback? onClick,
  8. BoxDecoration? buttonDecoration,
  9. double? initialThickness,
  10. double? cornerRadius,
  11. BoxBorder? filledBorder,
  12. Gradient? filledGradient,
  13. EdgeInsetsGeometry? buttonPadding,
  14. EdgeInsetsGeometry? buttonMargin,
  15. AlignmentGeometry? alignment,
  16. Widget? child,
})

Implementation

const HorizontalFillButton({
  Key? key,
  required this.buttonWidth,
  required this.buttonHeight,
  required this.filledColor,
  required this.fillingDuration,
  required this.curve,
  required this.onClick,
  this.buttonDecoration,
  this.initialThickness,
  this.cornerRadius,
  this.filledBorder,
  this.filledGradient,
  this.buttonPadding,
  this.buttonMargin,
  this.alignment,
  this.child,
}) : super(key: key);