diff --git a/lib/common/widgets/list_sheet.dart b/lib/common/widgets/list_sheet.dart index 2b4d195b..73fd39a7 100644 --- a/lib/common/widgets/list_sheet.dart +++ b/lib/common/widgets/list_sheet.dart @@ -165,7 +165,7 @@ class ListSheet { ), Expanded( child: Material( - child: ScrollablePositionedList.builder( + child: ScrollablePositionedList.separated( padding: EdgeInsets.only( bottom: MediaQuery.of(context).padding.bottom + 20), reverse: reverse, @@ -179,6 +179,10 @@ class ListSheet { ); }, itemScrollController: itemScrollController, + separatorBuilder: (_, index) => Divider( + height: 1, + color: Theme.of(context).dividerColor.withOpacity(0.1), + ), ), ), ), diff --git a/lib/pages/dynamics/widgets/author_panel.dart b/lib/pages/dynamics/widgets/author_panel.dart index 92dc42de..9bd06daf 100644 --- a/lib/pages/dynamics/widgets/author_panel.dart +++ b/lib/pages/dynamics/widgets/author_panel.dart @@ -88,7 +88,7 @@ class AuthorPanel extends StatelessWidget { child: IconButton( tooltip: '更多', style: ButtonStyle( - padding: MaterialStateProperty.all(EdgeInsets.zero), + padding: WidgetStateProperty.all(EdgeInsets.zero), ), onPressed: () { showModalBottomSheet( @@ -122,6 +122,10 @@ class MorePanel extends StatelessWidget { children: [ InkWell( onTap: () => Get.back(), + borderRadius: const BorderRadius.only( + topLeft: Radius.circular(28), + topRight: Radius.circular(28), + ), child: Container( height: 35, padding: const EdgeInsets.only(bottom: 2), diff --git a/lib/pages/video/detail/introduction/widgets/page.dart b/lib/pages/video/detail/introduction/widgets/page.dart index 24d95d9f..f30e406c 100644 --- a/lib/pages/video/detail/introduction/widgets/page.dart +++ b/lib/pages/video/detail/introduction/widgets/page.dart @@ -92,7 +92,7 @@ class _PagesPanelState extends State { height: 34, child: TextButton( style: ButtonStyle( - padding: MaterialStateProperty.all(EdgeInsets.zero), + padding: WidgetStateProperty.all(EdgeInsets.zero), ), onPressed: () { ListSheet( diff --git a/lib/pages/video/detail/reply/widgets/reply_item.dart b/lib/pages/video/detail/reply/widgets/reply_item.dart index 000843fb..6e4e4122 100644 --- a/lib/pages/video/detail/reply/widgets/reply_item.dart +++ b/lib/pages/video/detail/reply/widgets/reply_item.dart @@ -1110,6 +1110,10 @@ class MorePanel extends StatelessWidget { children: [ InkWell( onTap: () => Get.back(), + borderRadius: const BorderRadius.only( + topLeft: Radius.circular(28), + topRight: Radius.circular(28), + ), child: Container( height: 35, padding: const EdgeInsets.only(bottom: 2),