main function
Implementation
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
// Resolve SharedPreferences synchronously before runApp so the rest of
// the app can read it through a Provider without a FutureBuilder.
final prefs = await SharedPreferences.getInstance();
runApp(
ProviderScope(
overrides: [sharedPreferencesProvider.overrideWithValue(prefs)],
child: const FlutterSipUaApp(),
),
);
}