utils/src/compass_ui library
Classes
- CompassModel
- model to store the sensor value
- SmoothCompassWidget
Functions
-
getCompassValues(
double heading, double latitude, double longitude, String source) → dynamic - calculating compass Model
Typedefs
-
WidgetBuilder
= Widget Function(BuildContext context, AsyncSnapshot<
CompassModel> ? compassData, Widget compassAsset) - custom callback for building widget