FView constructor

const FView({
  1. Key? key,
  2. required FPlayer player,
  3. double? width,
  4. double? height,
  5. FFit fit = FFit.contain,
  6. FFit fsFit = FFit.contain,
  7. FPanelWidgetBuilder panelBuilder = defaultFPanelBuilder,
  8. Color color = const Color(0xFF607D8B),
  9. ImageProvider<Object>? cover,
  10. bool fs = true,
  11. void onDispose(
    1. FData
    )?,
})

Implementation

const FView({
  super.key,
  required this.player,
  this.width,
  this.height,
  this.fit = FFit.contain,
  this.fsFit = FFit.contain,
  this.panelBuilder = defaultFPanelBuilder,
  this.color = const Color(0xFF607D8B),
  this.cover,
  this.fs = true,
  this.onDispose,
});