LgElevatedButton constructor
const
LgElevatedButton({ - required String elevatedButtonContent,
- required Color buttonColor,
- required Function onpressed,
- required double height,
- required double width,
- required double fontSize,
- required Color fontColor,
- required bool isLoading,
- required bool isBold,
- required bool isPrefixIcon,
- required bool isSuffixIcon,
- required double curvatureRadius,
- double? borderWidth,
- IconData? prefixIcon,
- Color? prefixIconColor,
- double? prefixIconSize,
- IconData? suffixIcon,
- Color? suffixIconColor,
- double? suffixIconSize,
- Color? borderColor,
- double? elevation,
- 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,
});