YoutubeValueBuilder constructor

const YoutubeValueBuilder({
  1. Key? key,
  2. YoutubePlayerController? controller,
  3. required Widget builder(
    1. BuildContext,
    2. 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);