mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-27 12:36:27 +08:00
mod: lint
mod: tweaks opt: publish page Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -57,7 +57,7 @@ class _FavPgcChildPageState extends State<FavPgcChildPage>
|
||||
child: Obx(
|
||||
() => AnimatedSlide(
|
||||
offset: _favPgcController.enableMultiSelect.value
|
||||
? Offset(0, -1)
|
||||
? const Offset(0, -1)
|
||||
: Offset.zero,
|
||||
duration: const Duration(milliseconds: 150),
|
||||
child: Container(
|
||||
@@ -98,13 +98,13 @@ class _FavPgcChildPageState extends State<FavPgcChildPage>
|
||||
_favPgcController.handleSelect(
|
||||
!_favPgcController.allSelected.value);
|
||||
},
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.only(
|
||||
child: const Padding(
|
||||
padding: EdgeInsets.only(
|
||||
top: 14,
|
||||
bottom: 14,
|
||||
right: 12,
|
||||
),
|
||||
child: const Text('全选'),
|
||||
child: Text('全选'),
|
||||
),
|
||||
),
|
||||
const Spacer(),
|
||||
|
||||
@@ -22,7 +22,7 @@ class FavPgcController
|
||||
}
|
||||
|
||||
@override
|
||||
onSelect(int index, [bool disableSelect = true]) {
|
||||
void onSelect(int index, [bool disableSelect = true]) {
|
||||
super.onSelect(index, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ class _FavPgcPageState extends State<FavPgcPage>
|
||||
const EdgeInsets.symmetric(horizontal: 3, vertical: 8),
|
||||
indicator: BoxDecoration(
|
||||
color: theme.colorScheme.secondaryContainer,
|
||||
borderRadius: BorderRadius.circular(20),
|
||||
borderRadius: const BorderRadius.all(Radius.circular(20)),
|
||||
),
|
||||
indicatorSize: TabBarIndicatorSize.tab,
|
||||
labelStyle: TabBarTheme.of(context)
|
||||
@@ -66,7 +66,8 @@ class _FavPgcPageState extends State<FavPgcPage>
|
||||
// TextButton(
|
||||
// style: TextButton.styleFrom(
|
||||
// foregroundColor: theme.colorScheme.onSurfaceVariant,
|
||||
// visualDensity: VisualDensity(horizontal: -2, vertical: -2),
|
||||
// visualDensity:
|
||||
// const VisualDensity(horizontal: -2, vertical: -2),
|
||||
// tapTargetSize: MaterialTapTargetSize.shrinkWrap,
|
||||
// ),
|
||||
// onPressed: () {},
|
||||
|
||||
@@ -89,7 +89,8 @@ class FavPgcItem extends StatelessWidget {
|
||||
width: constraints.maxHeight *
|
||||
StyleString.aspectRatio,
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(4),
|
||||
borderRadius: const BorderRadius.all(
|
||||
Radius.circular(4)),
|
||||
color: Colors.black.withOpacity(0.6),
|
||||
),
|
||||
child: SizedBox(
|
||||
|
||||
Reference in New Issue
Block a user