PrimaryButton constructor
const
PrimaryButton({
- Key? key,
- bool isLoading = false,
- Icon? icon,
- required String text,
- required VoidCallback? onPressedCallback,
- double width = double.infinity,
- double height = 50,
- EdgeInsetsGeometry padding = const EdgeInsets.all(10),
- double radius = 25,
Implementation
const PrimaryButton({
super.key,
this.isLoading = false,
this.icon,
required this.text,
required this.onPressedCallback,
this.width = double.infinity,
this.height = 50,
this.padding = const EdgeInsets.all(10),
this.radius = 25
});