PrefButtonGroup<T> constructor

const PrefButtonGroup<T>({
  1. Key? key,
  2. Widget? title,
  3. required List<ButtonGroupItem<T>> items,
  4. required String pref,
  5. Widget? subtitle,
  6. ValueChanged<T>? onChange,
  7. bool? disabled,
})

Implementation

const PrefButtonGroup({
  super.key,
  this.title,
  required this.items,
  required this.pref,
  this.subtitle,
  this.onChange,
  this.disabled,
});