templateModules top-level constant
The modules offered when creating a mono-repo.
Order is the order they are presented in.
Implementation
const templateModules = <TemplateModule>[
TemplateModule(
key: 'network',
label: 'Network',
description: 'Dio client, auth + logging interceptors, typed errors',
defaultValue: true,
impliedBy: ['notifications'],
),
TemplateModule(
key: 'auth',
label: 'Authentication',
description: 'Firebase Auth (email, Google, Apple) with route guards',
defaultValue: true,
),
TemplateModule(
key: 'firestore',
label: 'Cloud Firestore',
description: 'Firestore + Cloud Functions wiring and timestamp converters',
defaultValue: false,
),
TemplateModule(
key: 'notifications',
label: 'Push notifications',
description: 'FCM, permission handling, device-token registration',
defaultValue: true,
),
TemplateModule(
key: 'analytics',
label: 'Analytics',
description: 'Event tracking behind a swappable client',
defaultValue: true,
),
TemplateModule(
key: 'crashlytics',
label: 'Crash reporting',
description: 'Crashlytics for fatals and handled errors',
defaultValue: true,
),
TemplateModule(
key: 'feature_flags',
label: 'Feature flags',
description: 'Remote Config flags with a widget wrapper',
defaultValue: true,
impliedBy: ['developer'],
),
TemplateModule(
key: 'developer',
label: 'Developer tools',
description: 'In-app logs and flag inspector behind a hidden gesture',
defaultValue: true,
),
TemplateModule(
key: 'dashboard',
label: 'Dashboard shell',
description: 'Bottom navigation with starter tabs and a profile tab',
defaultValue: true,
),
];