ArcaneFAB.primary constructor

const ArcaneFAB.primary({
  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. String? id,
  9. Map<String, String>? attributes,
  10. Key? key,
})

Implementation

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