PrimaryButton1 constructor
const
PrimaryButton1({
- Key? key,
- required String? text,
- required GestureTapCallback? onPress,
- bool withShadow = false,
- bool? isEnabled = true,
- FontWeight textWeight = TextStyleBuilder.boldFontWeight,
- ImageIcon? icon,
- double circularBorderRadius = 10.0,
- double fontSize = TextStyleBuilder.normalFontSize,
Implementation
const PrimaryButton1({Key? key,
required this.text,
required this.onPress,
this.withShadow = false,
this.isEnabled = true,
this.textWeight = TextStyleBuilder.boldFontWeight,
this.icon,
this.circularBorderRadius = 10.0,
this.fontSize = TextStyleBuilder.normalFontSize,
}) : super(key: key);