YoutubeValueBuilder constructor
const
YoutubeValueBuilder({
- Key? key,
- required Widget builder(
- BuildContext,
- YoutubePlayerValue
- bool buildWhen(
- YoutubePlayerValue,
- YoutubePlayerValue
- YoutubePlayerController? controller,
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,
required this.builder,
this.buildWhen,
this.controller,
}) : super(key: key);