SwitchSettingsPage<T> constructor

const SwitchSettingsPage<T>(
  1. {required Map<T, bool> items,
  2. required String generateLabel(
    1. T
    ),
  3. dynamic onSave(
    1. Map<T, bool>
    )?,
  4. Key? key}
)

Create an instance of this page.

Implementation

const SwitchSettingsPage({
  required this.items,
  required this.generateLabel,
  this.onSave,
  super.key,
});