FABProps constructor

const FABProps({
  1. required Widget icon,
  2. String? label,
  3. void onPressed()?,
  4. ColorVariant color = ColorVariant.primary,
  5. ComponentSize size = ComponentSize.md,
  6. bool disabled = false,
  7. FABPosition position = FABPosition.bottomRight,
  8. String? tooltip,
  9. String? id,
  10. Map<String, String>? attributes,
})

Implementation

const FABProps({
  required this.icon,
  this.label,
  this.onPressed,
  this.color = ColorVariant.primary,
  this.size = ComponentSize.md,
  this.disabled = false,
  this.position = FABPosition.bottomRight,
  this.tooltip,
  this.id,
  this.attributes,
});