Closed fuedgabriel closed 4 years ago
AspectRatio( aspectRatio: 16 / 9, child: VideoBox( controller: vc, children: [ Align( alignment: Alignment((MediaQuery.of(context).size.height 0.0004)-1, (MediaQuery.of(context).size.width 0.0020)-1), child: Text( episodeActualy, style: TextStyle( fontSize: 16, color: Colors.white ), ) ), ], ), ),
SetState does not work on VideoBox. setState(() { episodeActualy = ' class 01'; });
May need a little trouble......
https://gist.github.com/januwA/ff23035c74c0d60f0b31c15a76c2867f
thank you very much.
AspectRatio( aspectRatio: 16 / 9, child: VideoBox( controller: vc, children:[
Align(
alignment: Alignment((MediaQuery.of(context).size.height 0.0004)-1, (MediaQuery.of(context).size.width 0.0020)-1),
child: Text(
episodeActualy,
style: TextStyle(
fontSize: 16,
color: Colors.white
),
)
),
],
),
),
SetState does not work on VideoBox. setState(() { episodeActualy = ' class 01'; });