|
|
@ -102,15 +102,16 @@ part 'src/widgets/text_settings_tile.dart'; |
|
|
|
part 'src/widgets/user_avatar.dart'; |
|
|
|
part 'src/widgets/user_avatar.dart'; |
|
|
|
|
|
|
|
|
|
|
|
Future runNeon({ |
|
|
|
Future runNeon({ |
|
|
|
required final WidgetsBinding binding, |
|
|
|
|
|
|
|
required final Iterable<AppImplementation> Function(SharedPreferences, RequestManager, NeonPlatform) |
|
|
|
required final Iterable<AppImplementation> Function(SharedPreferences, RequestManager, NeonPlatform) |
|
|
|
getAppImplementations, |
|
|
|
getAppImplementations, |
|
|
|
required final Branding branding, |
|
|
|
required final Branding branding, |
|
|
|
|
|
|
|
final WidgetsBinding? bindingOverride, |
|
|
|
final SharedPreferences? sharedPreferencesOverride, |
|
|
|
final SharedPreferences? sharedPreferencesOverride, |
|
|
|
final Account? account, |
|
|
|
final Account? account, |
|
|
|
final bool firstLaunchDisabled = false, |
|
|
|
final bool firstLaunchDisabled = false, |
|
|
|
final bool nextPushDisabled = false, |
|
|
|
final bool nextPushDisabled = false, |
|
|
|
}) async { |
|
|
|
}) async { |
|
|
|
|
|
|
|
final binding = bindingOverride ?? WidgetsFlutterBinding.ensureInitialized(); |
|
|
|
FlutterNativeSplash.preserve(widgetsBinding: binding); |
|
|
|
FlutterNativeSplash.preserve(widgetsBinding: binding); |
|
|
|
|
|
|
|
|
|
|
|
final sharedPreferences = sharedPreferencesOverride ?? await SharedPreferences.getInstance(); |
|
|
|
final sharedPreferences = sharedPreferencesOverride ?? await SharedPreferences.getInstance(); |
|
|
|