mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
Add padding for bottom little white tile
This commit is contained in:
@@ -64,7 +64,8 @@ class _ServerDetailPageState extends State<ServerDetailPage>
|
||||
_buildCPUView(si.status),
|
||||
_buildDiskView(si.status),
|
||||
_buildMemView(si.status),
|
||||
_buildNetView(si.status.netSpeed)
|
||||
_buildNetView(si.status.netSpeed),
|
||||
SizedBox(height: _media.padding.bottom),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
@@ -67,7 +67,7 @@ class _ServerPageState extends State<ServerPage>
|
||||
child: AnimationLimiter(
|
||||
child: Column(
|
||||
children: AnimationConfiguration.toStaggeredList(
|
||||
duration: const Duration(milliseconds: 477),
|
||||
duration: const Duration(milliseconds: 377),
|
||||
childAnimationBuilder: (widget) => SlideAnimation(
|
||||
verticalOffset: 77.0,
|
||||
child: FadeInAnimation(
|
||||
@@ -76,7 +76,8 @@ class _ServerPageState extends State<ServerPage>
|
||||
),
|
||||
children: [
|
||||
const SizedBox(height: 13),
|
||||
...pro.servers.map((e) => _buildEachServerCard(e))
|
||||
...pro.servers.map((e) => _buildEachServerCard(e)),
|
||||
SizedBox(height: _media.padding.bottom),
|
||||
],
|
||||
))),
|
||||
);
|
||||
@@ -131,7 +132,7 @@ class _ServerPageState extends State<ServerPage>
|
||||
|
||||
final topRightStr =
|
||||
getTopRightStr(cs, ss.cpu2Status.temp, ss.uptime, ss.failedInfo);
|
||||
final hasError = cs == ServerConnectionState.failed;
|
||||
final hasError = cs == ServerConnectionState.failed && ss.failedInfo != null;
|
||||
final style = TextStyle(
|
||||
color: _theme.textTheme.bodyText1!.color!.withAlpha(100), fontSize: 11);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user