PrimaryButton constructor
const
PrimaryButton({
- Key? key,
- required String title,
- VoidCallback? onTap,
- bool loading = false,
- Color? color,
- BorderRadiusGeometry? borderRadius,
Implementation
const PrimaryButton({
super.key,
required this.title,
this.onTap,
this.loading = false,
this.color,
this.borderRadius,
});