ThemeGradientButton constructor
const
ThemeGradientButton({
- Key? key,
- double? height = 45,
- double? width = double.infinity,
- required Gradient gradient,
- double radius = 25,
- bool isEnable = true,
- VoidCallback? onPressed,
- String text = "",
- double fontSize = 16,
- Color textColor = Colors.white,
- EdgeInsetsGeometry? padding,
- FontWeight? fontWeight,
Implementation
const ThemeGradientButton({
Key? key,
this.height = 45,
this.width = double.infinity,
required this.gradient,
this.radius = 25,
this.isEnable = true,
this.onPressed,
this.text = "",
this.fontSize = 16,
this.textColor = Colors.white,
this.padding,
this.fontWeight,
}) : super(key: key);