ModernFormYoutubeViewPlayer constructor Null safety

const ModernFormYoutubeViewPlayer(
  1. {Key? key,
  2. required String? url,
  3. void share(
    1. BuildContext context
    )?}
)

Implementation

const ModernFormYoutubeViewPlayer({
  Key? key,
  required this.url,
  this.share,
}) : super(key: key);