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.
<span class="feature">read / write</span>

channelAndroidNotificationChannel

Create a <a href="https:pub.dev/documentation/flutter_local_notifications/15.1.0+1/flutter_local_notifications/AndroidNotificationChannel-class.html">AndroidNotificationChannel</a> for heads up notifications.
<span class="feature">read / write</span>

flutterLocalNotificationsPluginFlutterLocalNotificationsPlugin

Initialize the <a href="https:pub.dev/documentation/flutter_local_notifications/15.1.0+1/flutter_local_notifications/FlutterLocalNotificationsPlugin-class.html">FlutterLocalNotificationsPlugin</a> package.
<span class="feature">read / write</span>

iosFirebaseOptionsMap<String, dynamic>

HashMap of Firebase options for android.
<span class="feature">read / write</span>

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.