LgElevatedButton constructor

const LgElevatedButton({
  1. required String elevatedButtonContent,
  2. required Color buttonColor,
  3. required Function onpressed,
  4. required double height,
  5. required double width,
  6. required double fontSize,
  7. required Color fontColor,
  8. required bool isLoading,
  9. required bool isBold,
  10. required bool isPrefixIcon,
  11. required bool isSuffixIcon,
  12. required double curvatureRadius,
  13. double? borderWidth,
  14. IconData? prefixIcon,
  15. Color? prefixIconColor,
  16. double? prefixIconSize,
  17. IconData? suffixIcon,
  18. Color? suffixIconColor,
  19. double? suffixIconSize,
  20. Color? borderColor,
  21. double? elevation,
  22. Key? key,
})

Implementation

const LgElevatedButton({
  required this.elevatedButtonContent,
  required this.buttonColor,
  required this.onpressed,
  required this.height,
  required this.width,
  required this.fontSize,
  required this.fontColor,
  required this.isLoading,
  required this.isBold,
  required this.isPrefixIcon,
  required this.isSuffixIcon,
  required this.curvatureRadius,
  this.borderWidth,
  this.prefixIcon,
  this.prefixIconColor,
  this.prefixIconSize,
  this.suffixIcon,
  this.suffixIconColor,
  this.suffixIconSize,
  this.borderColor,
  this.elevation,
  super.key,
});