FAB.success constructor

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

Success FAB

Implementation

const FAB.success({
  required this.icon,
  this.label,
  this.onPressed,
  this.size = FABSize.regular,
  this.disabled = false,
  this.position = FABPosition.bottomRight,
  this.tooltip,
  super.key,
}) : style = FABStyle.success;