Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-01 15:17:42 +08:00
parent 5c28376210
commit dd5c2229b3
22 changed files with 182 additions and 177 deletions

View File

@@ -31,6 +31,7 @@ class _FavNoteChildPageState extends State<FavNoteChildPage>
Widget build(BuildContext context) {
super.build(context);
final theme = Theme.of(context);
final padding = MediaQuery.paddingOf(context);
return LayoutBuilder(
builder: (context, constraints) => Stack(
clipBehavior: Clip.none,
@@ -42,9 +43,7 @@ class _FavNoteChildPageState extends State<FavNoteChildPage>
physics: const AlwaysScrollableScrollPhysics(),
slivers: [
SliverPadding(
padding: EdgeInsets.only(
bottom: MediaQuery.paddingOf(context).bottom + 80,
),
padding: EdgeInsets.only(bottom: padding.bottom + 80),
sliver: Obx(
() => _buildBody(_favNoteController.loadingState.value),
),
@@ -63,7 +62,7 @@ class _FavNoteChildPageState extends State<FavNoteChildPage>
: Offset.zero,
duration: const Duration(milliseconds: 150),
child: Container(
padding: MediaQuery.paddingOf(context),
padding: padding,
decoration: BoxDecoration(
color: theme.colorScheme.onInverseSurface,
border: Border(