gnss_status 1.0.1 copy "gnss_status: ^1.0.1" to clipboard
gnss_status: ^1.0.1 copied to clipboard

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

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,
    ),
3
likes
40
pub points
9%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on gnss_status