chore: code clean up

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-10 09:49:06 +08:00
parent 03d405e197
commit 59910e275e
133 changed files with 597 additions and 816 deletions

View File

@@ -70,7 +70,7 @@ class PullToRefreshHeader extends StatelessWidget {
child: Container(
alignment: Alignment.centerRight,
margin: const EdgeInsets.only(right: 12.0),
child: RefreshImage(top, null),
child: RefreshImage(top: top),
),
),
Column(
@@ -93,7 +93,10 @@ class PullToRefreshHeader extends StatelessWidget {
}
class RefreshImage extends StatelessWidget {
const RefreshImage(this.top, Key? key) : super(key: key);
const RefreshImage({
super.key,
required this.top,
});
final double top;