YoutubeValueBuilder constructor
const
YoutubeValueBuilder({
- Key? key,
- YoutubePlayerController? controller,
- required Widget builder(
- BuildContext,
- YoutubePlayerValue
Creates a new YoutubeValueBuilder that builds itself based on the latest snapshot of interaction with the specified controller and whose build strategy is given by builder.
The controller property can be omitted if YoutubePlayerControllerProvider is above this widget in widget tree.
The builder must not be null.
Implementation
const YoutubeValueBuilder({
Key? key,
this.controller,
required this.builder,
}) : super(key: key);