LiPanelWidgetBuilder typedef

LiPanelWidgetBuilder = Widget Function(LiPlayer player, LiData data, BuildContext context, Size viewSize, Rect texturePos)

The signature of the LayoutBuilder builder function.

Must not return null. The return widget is placed as one of Stack's children. If change LiView between normal mode and full screen mode, the panel would be rebuild. data can be used to pass value from different panel.

Implementation

typedef LiPanelWidgetBuilder = Widget Function(LiPlayer player, LiData data,
    BuildContext context, Size viewSize, Rect texturePos);