CustomElevatedButton constructor

const CustomElevatedButton({
  1. Key? key,
  2. BoxDecoration? decoration,
  3. Widget? leftIcon,
  4. Widget? rightIcon,
  5. EdgeInsets? margin,
  6. VoidCallback? onTap,
  7. ButtonStyle? buttonStyle,
  8. Alignment? alignment,
  9. TextStyle? buttonTextStyle,
  10. bool? isDisabled,
  11. double? height,
  12. double? width,
  13. required String text,
})

Implementation

const CustomElevatedButton({
  Key? key,
  this.decoration,
  this.leftIcon,
  this.rightIcon,
  EdgeInsets? margin,
  VoidCallback? onTap,
  ButtonStyle? buttonStyle,
  Alignment? alignment,
  TextStyle? buttonTextStyle,
  bool? isDisabled,
  double? height,
  double? width,
  required String text,
}) : super(
        key: key,
        text: text,
        onTap: onTap,
        buttonStyle: buttonStyle,
        isDisabled: isDisabled,
        buttonTextStyle: buttonTextStyle,
        height: height,
        width: width,
        alignment: alignment,
        margin: margin,
      );