fullscreenWrapper property
Optional wrapper applied only in fullscreen mode.
Use this to wrap the entire player in a different layout or theme when entering fullscreen. For example, you could add padding, a background gradient, or a safe area.
Example:
fullscreenWrapper: (context, child) => Scaffold(
backgroundColor: Colors.black,
body: Center(child: child),
),
Implementation
final Widget Function(BuildContext context, Widget child)? fullscreenWrapper;