utils/src/compass_ui library

Classes

CompassModel
model to store the sensor value
SmoothCompassWidget

Properties

preValue double
getter/setter pair
turns double
getter/setter pair

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