WidgetBuilder typedef

WidgetBuilder = Widget Function(BuildContext context, AsyncSnapshot<CompassModel>? compassData, Widget compassAsset)

custom callback for building widget

Implementation

typedef WidgetBuilder = Widget Function(BuildContext context,
    AsyncSnapshot<CompassModel>? compassData, Widget compassAsset);