|
|
@@ -37,7 +37,6 @@ typedef void OnTapMoreVideo(int index);
|
|
|
|
|
|
class CartoonMaterialControlsState extends State<CartoonMaterialControls> {
|
|
|
VideoPlayerValue _latestValue;
|
|
|
- double _latestVolume;
|
|
|
bool _hideStuff = true;
|
|
|
Timer _hideTimer;
|
|
|
Timer _initTimer;
|
|
|
@@ -429,7 +428,6 @@ class CartoonMaterialControlsState extends State<CartoonMaterialControls> {
|
|
|
return Image(image: AssetImage("assets/dub_user_play/${widget.isCollect.value == 1 ? "xin.png" : "hxin.png"}", package: 'chewie'), width: 20, height: 20,);
|
|
|
}
|
|
|
),
|
|
|
-
|
|
|
onTap: widget.onTapLove,
|
|
|
),
|
|
|
),
|
|
|
@@ -531,27 +529,6 @@ class CartoonMaterialControlsState extends State<CartoonMaterialControls> {
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- GestureDetector _buildExpandButton() {
|
|
|
- return GestureDetector(
|
|
|
- onTap: _onExpandCollapse,
|
|
|
- child: AnimatedOpacity(
|
|
|
- opacity: _hideStuff ? 0.0 : 1.0,
|
|
|
- duration: Duration(milliseconds: 300),
|
|
|
- child: Container(
|
|
|
- height: barHeight,
|
|
|
- margin: EdgeInsets.only(right: 12.0),
|
|
|
- padding: EdgeInsets.only(
|
|
|
- left: 8.0,
|
|
|
- right: 8.0,
|
|
|
- ),
|
|
|
- child: Center(
|
|
|
- child: Image(image: AssetImage("assets/dub_user_play/${chewieController.isFullScreen ? "shousuo.png" : "fangda.png"}", package: 'chewie'), width: 20, height: 20,),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- );
|
|
|
- }
|
|
|
-
|
|
|
Expanded _buildHitArea() {
|
|
|
return Expanded(
|
|
|
child: GestureDetector(
|
|
|
@@ -755,7 +732,6 @@ class CartoonMaterialControlsState extends State<CartoonMaterialControls> {
|
|
|
}
|
|
|
|
|
|
void onTapBack() {
|
|
|
- print("onTapBack");
|
|
|
chewieController.exitFullScreen();
|
|
|
}
|
|
|
|