mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: morepanel
This commit is contained in:
@@ -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),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -92,7 +92,7 @@ class _PagesPanelState extends State<PagesPanel> {
|
||||
height: 34,
|
||||
child: TextButton(
|
||||
style: ButtonStyle(
|
||||
padding: MaterialStateProperty.all(EdgeInsets.zero),
|
||||
padding: WidgetStateProperty.all(EdgeInsets.zero),
|
||||
),
|
||||
onPressed: () {
|
||||
ListSheet(
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user