ZetaGroupButton.dropdown constructor

const ZetaGroupButton.dropdown({
  1. Key? key,
  2. bool? rounded,
  3. required List<ZetaDropdownItem>? items,
  4. void onChange(
    1. ZetaDropdownItem selectedItem
    )?,
  5. dynamic initialValue,
  6. IconData? icon,
  7. String? label,
  8. String? semanticLabel,
})

Constructs dropdown group button

Implementation

const ZetaGroupButton.dropdown({
  super.key,
  super.rounded,
  required this.items,
  this.onChange,
  this.initialValue,
  this.icon,
  this.label,
  this.semanticLabel,
})  : isFinal = false,
      isInitial = false,
      isInverse = false,
      isLarge = true,
      onPressed = null;