Skip to content

A package that allows you to easily fetch the GNSSStatus via inbuilt streams for Flutter.

License

Notifications You must be signed in to change notification settings

jorgeho1995/gnss_status

Repository files navigation

gnss_status

A package that allows you to easily fetch the GNSSStatus via inbuilt streams.

Example: Fetch GNSSStatusModel

    StreamBuilder<GnssStatusModel>(
        builder: (context, snapshot) {
            if(snapshot.data == null) {
                return CircularProgressIndicator();
            }
            List<Map<String, dynamic>> toSend = [];
            snapshot..data.status.forEach((element) {
                toSend.add(element.toJson());
            });
             return Text(toSend.toString() ?? "");
        }, 
        stream: GnssStatus().gnssStatusEvents,
    ),

About

A package that allows you to easily fetch the GNSSStatus via inbuilt streams for Flutter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published