ModulaFAB constructor

const ModulaFAB({
  1. required VoidCallback onPressed,
  2. Key? key,
  3. Widget? icon,
  4. String? label,
  5. bool isLoading = false,
  6. Color? backgroundColor,
  7. Color foregroundColor = Colors.white,
  8. double elevation = 6.0,
  9. double size = 56.0,
  10. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(28)),
})

Implementation

const ModulaFAB({
  required this.onPressed,
  super.key,
  this.icon,
  this.label,
  this.isLoading = false,
  this.backgroundColor,
  this.foregroundColor = Colors.white,
  this.elevation = 6.0,
  this.size = 56.0,
  this.borderRadius = const BorderRadius.all(Radius.circular(28)),
});