fijkPanel2Builder function

FijkPanelWidgetBuilder fijkPanel2Builder({
  1. Key? key,
  2. bool fill = false,
  3. int duration = 4000,
  4. bool doubleTap = true,
  5. bool snapShot = false,
  6. VoidCallback? onBack,
})

Implementation

FijkPanelWidgetBuilder fijkPanel2Builder(
    {Key? key,
    final bool fill = false,
    final int duration = 4000,
    final bool doubleTap = true,
    final bool snapShot = false,
    final VoidCallback? onBack}) {
  return (FijkPlayer player, FijkData data, BuildContext context, Size viewSize,
      Rect texturePos) {
    return _FijkPanel2(
      key: key,
      player: player,
      data: data,
      onBack: onBack,
      viewSize: viewSize,
      texPos: texturePos,
      fill: fill,
      doubleTap: doubleTap,
      snapShot: snapShot,
      hideDuration: duration,
    );
  };
}