presets top-level constant
Implementation
const presets = <String, Preset>{
'minimal': Preset(
name: 'minimal',
platforms: ['android', 'ios'],
architecture: 'feature-first',
stateManagement: 'none',
router: 'none',
networking: 'none',
storage: 'none',
localization: false,
theme: 'material3',
seedColor: '0xFF2196F3',
),
'mobile': Preset(
name: 'mobile',
platforms: ['android', 'ios'],
architecture: 'feature-first',
stateManagement: 'riverpod',
router: 'go_router',
networking: 'dio',
storage: 'shared_preferences',
localization: true,
theme: 'material3',
seedColor: '0xFF6750A4',
),
'full': Preset(
name: 'full',
platforms: ['android', 'ios', 'windows', 'linux', 'macos', 'web'],
architecture: 'feature-first',
stateManagement: 'riverpod',
router: 'go_router',
networking: 'dio',
storage: 'secure_storage',
localization: true,
theme: 'material3',
seedColor: '0xFF6750A4',
fontFamily: 'Roboto',
codegen: true,
),
};