KeyedContextSwitchOption<K, V> constructor

KeyedContextSwitchOption<K, V>(
  1. K key,
  2. V value, {
  3. required String label,
  4. required Getter<IKeyedOptionsHandler<K, V>> onSelect,
  5. dynamic icon,
  6. List? subtitle,
  7. String? selection,
  8. List<String>? extraTokens,
})

Implementation

KeyedContextSwitchOption(
  K key,
  V value, {
  required String label,
  required this.onSelect,
  icon,
  List? subtitle,
  String? selection,
  List<String>? extraTokens,
}) : super(
        key,
        value,
        label: label,
        icon: icon,
        subtitle: subtitle,
        selection: selection,
        extraTokens: extraTokens,
      );