AdvancedPill constructor

const AdvancedPill({
  1. Key? key,
  2. String title = 'Title',
  3. String? subtitle = 'Subtitle',
  4. AdvancedPillType type = AdvancedPillType.gray,
  5. bool hasLeftSlot = true,
  6. IconData? leftIcon,
  7. Widget? leftSlot,
  8. bool hasRightSlot = false,
  9. IconData? rightIcon,
  10. Widget? rightSlot,
})

Creates an AdvancedPill instance.

Implementation

const AdvancedPill({
  super.key,
  this.title = 'Title',
  this.subtitle = 'Subtitle',
  this.type = AdvancedPillType.gray,
  this.hasLeftSlot = true,
  this.leftIcon,
  this.leftSlot,
  this.hasRightSlot = false,
  this.rightIcon,
  this.rightSlot,
});