mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
chore: code clean up
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user