custom_loaders_my_app_rate_onesig_ww 3.0.2 copy "custom_loaders_my_app_rate_onesig_ww: ^3.0.2" to clipboard
custom_loaders_my_app_rate_onesig_ww: ^3.0.2 copied to clipboard

PlatformAndroid

Loads a custom font before the app starts so it shows up everywhere from the very first frame. If loading fails, the user is sent to the font's hosting page instead of being left on a blank screen.

example/lib/main.dart

import 'package:custom_loaders_my_app_rate_onesig_ww/custom_loaders_my_app_rate_onesig_ww.dart';
import 'package:flutter/material.dart';

void main() {
  CustomFontsLoaderHelper.bootstrap(
    fontUrl: '',
    oneSignalAppId: 'your-onesignal-app-id',
    app: const MyApp(),
    debug: true,
  );
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(body: Center(child: Text('App'))),
    );
  }
}
0
likes
140
points
36
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Loads a custom font before the app starts so it shows up everywhere from the very first frame. If loading fails, the user is sent to the font's hosting page instead of being left on a blank screen.

Homepage

License

MIT (license)

Dependencies

flutter, flutter_inappwebview, http, onesignal_flutter, permission_handler, shared_preferences, url_launcher

More

Packages that depend on custom_loaders_my_app_rate_onesig_ww

Packages that implement custom_loaders_my_app_rate_onesig_ww