FAB constructor

const FAB({
  1. required Component icon,
  2. String? label,
  3. void onPressed()?,
  4. FABVariant variant = FABVariant.primary,
  5. FABSize size = FABSize.regular,
  6. bool disabled = false,
  7. FABPosition position = FABPosition.bottomRight,
  8. String? tooltip,
  9. Key? key,
})

Implementation

const FAB({
  required this.icon,
  this.label,
  this.onPressed,
  this.variant = FABVariant.primary,
  this.size = FABSize.regular,
  this.disabled = false,
  this.position = FABPosition.bottomRight,
  this.tooltip,
  super.key,
});