SettingItemDefinition constructor

const SettingItemDefinition({
  1. required String elementKey,
  2. required SettingItemGroup group,
  3. Set<SceneType> excludedScenes = const {},
  4. bool showInPortraitPanel = true,
  5. bool showInLandscapePanel = true,
})

创建设置项描述符

Creates a setting item definition.

Implementation

const SettingItemDefinition({
  required this.elementKey,
  required this.group,
  this.excludedScenes = const {},
  this.showInPortraitPanel = true,
  this.showInLandscapePanel = true,
});