From bbf1b4cbe2a49f1a07cd74ed75aa9d309c0a3c5a Mon Sep 17 00:00:00 2001 From: w-R <953969641@qq.com> Date: Tue, 9 Nov 2021 18:12:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E7=BC=A9=E6=94=BE=E9=80=82?= =?UTF-8?q?=E9=85=8D=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/community/community_view/class_details.dart | 5 +++++ lib/community/community_view/home_class.dart | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/community/community_view/class_details.dart b/lib/community/community_view/class_details.dart index fe7e1195..f26498d2 100644 --- a/lib/community/community_view/class_details.dart +++ b/lib/community/community_view/class_details.dart @@ -33,6 +33,10 @@ class ClassDetails extends StatefulWidget { } } +class myChewieController extends ChewieController{ + +} + class _ClassDetails extends State with WidgetsBindingObserver { VideoPlayerController videoPlayerController; Chewie chewies; @@ -146,6 +150,7 @@ class _ClassDetails extends State with WidgetsBindingObserver { Widget build(BuildContext context) { return Scaffold( body: Container( + margin: EdgeInsets.only(top:30), child: Column( children: [ Expanded( diff --git a/lib/community/community_view/home_class.dart b/lib/community/community_view/home_class.dart index 86903d5c..cb70851d 100644 --- a/lib/community/community_view/home_class.dart +++ b/lib/community/community_view/home_class.dart @@ -120,7 +120,10 @@ class _HomeClass extends State { children: [ Container( decoration: BoxDecoration( - borderRadius: BorderRadius.circular(4), + borderRadius: BorderRadius.only( + topLeft: Radius.circular(4), + topRight: Radius.circular(4), + ), boxShadow: [ BoxShadow( color: Colors.black.withAlpha(10),