CustomSettingsGroup constructor

CustomSettingsGroup({
  1. required String title,
  2. bool enabled = true,
  3. dynamic onToggleEnabled(
    1. bool val
    )?,
  4. List<CustomSettingsItem> items = const [],
})

Implementation

CustomSettingsGroup({
  required this.title,
  this.enabled = true,
  Function(bool val)? onToggleEnabled,
  this.items = const [],
}) : _onToggleEnabled = onToggleEnabled;