magicStarterConfig top-level property
Magic Starter Configuration Template.
This file provides a default configuration for the magic_starter plugin.
Host applications should copy this structure into their own
lib/config/magic_starter.dart.
See MagicStarterConfig for how these values are consumed.
Implementation
Map<String, dynamic> get magicStarterConfig => {
'magic_starter': {
'features': {
'teams': false,
'profile_photos': false,
'registration': true,
'two_factor': false,
'sessions': false,
'guest_auth': false,
'phone_otp': false,
'newsletter': false,
'email_verification': false,
'extended_profile': true,
'social_login': true,
'notifications': true,
'timezones': false,
},
'auth': {
'email': true,
'phone': false,
},
'defaults': {
'locale': 'en',
'timezone': 'UTC',
},
'supported_locales': [
'en',
'tr',
],
'routes': {
'home': '/',
'login': '/auth/login',
'auth_prefix': '/auth',
'teams_prefix': '/teams',
'profile_prefix': '/settings',
'notifications_prefix': '/notifications',
},
'legal': {
'terms_url': null,
'privacy_url': null,
},
},
};