'String' is not a subtype of type 'YoutubePlayerController' – Flutter
Expanded( child: Container( child: SingleChildScrollView(scrollDirection: Axis.vertical, child: StreamBuilder( stream: FirebaseFirestore.instance.collection("videoList").snapshots(), builder: (context,AsyncSnapshot<QuerySnapshot>streamSnapshot){ if(streamSnapshot.hasData){ return ListView.separated( shrinkWrap: true, physics: ScrollPhysics(), scrollDirection: Axis.vertical, clipBehavior: Clip.hardEdge, itemBuilder: (context, index) { DocumentSnapshot _documentSnapshot=streamSnapshot.data!.docs[index]; return ListTile( title: YoutubePlayer( key: ObjectKey(_documentSnapshot["url"]), controller: _documentSnapshot["url"], actionsPadding: const EdgeInsets.only(left:…