AdvancedPill constructor

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

Creates an AdvancedPill instance.

Implementation

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