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
androidFirebaseOptions ↔ Map<String, dynamic>
HashMap of Firebase options for android.
read / write
channel ↔ AndroidNotificationChannel
Create a AndroidNotificationChannel for heads up notifications.
read / write
flutterLocalNotificationsPlugin ↔ FlutterLocalNotificationsPlugin
Initialize the FlutterLocalNotificationsPlugin package.
read / write
iosFirebaseOptions ↔ Map<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.