Skip to main content

main library

Classes

DemoPageView

PageView is a scrollable list that works page by page.

DemoViewModel

ViewModel uses property-based data binding to establish a connection.

MyApp

Main widget that sets up the quick actions, internationalization, routing , notifications.

Properties

androidFirebaseOptionsMap<String, dynamic>

HashMap of Firebase options for android.
read / write

channelAndroidNotificationChannel

Create a AndroidNotificationChannel for heads up notifications.
read / write

flutterLocalNotificationsPluginFlutterLocalNotificationsPlugin

Initialize the FlutterLocalNotificationsPlugin package.
read / write

iosFirebaseOptionsMap<String, dynamic>

HashMap of Firebase options for android.
read / write

Functions

main() Future<void>

First function to initialize the application, invoked automatically.

setUpFirebase() Future<void>

Initializes the firebase in the app according to the userplatform (android/iOS).

setUpFirebaseKeys() Future<void>

Initializes the firebase keys in the app according to the userplatform (android/iOS).

setUpFirebaseMessaging() Future<void>

Set up firebase instance, enbables messaging,listens to icoming messages.