OverlayControls.deFault constructor

OverlayControls.deFault({
  1. PlayerTheme theme = const PlayerTheme(),
})

OverlayControls.deFault The Ui is the default ui provided in the package.

You can use all the contols and theme customization use theme argument

PlayerTheme can be used for custom theme

Implementation

OverlayControls.deFault({
  this.theme = const PlayerTheme(),
}) {
  overlay = (state) {
    return OverlayPlayer(state: state, theme: theme);
  };
}