mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2026-01-31 13:25:10 +01:00
use 9/16 to fit layout
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
class BuildData {
|
||||
static const String name = "ToolBox";
|
||||
static const int build = 73;
|
||||
static const int build = 75;
|
||||
static const String engine = "Flutter 2.8.1 • channel stable • https://github.com/flutter/flutter.git\nFramework • revision 77d935af4d (3 weeks ago) • 2021-12-16 08:37:33 -0800\nEngine • revision 890a5fca2e\nTools • Dart 2.15.1\n";
|
||||
static const String buildAt = "2022-01-09 19:17:25.988021";
|
||||
static const int modifications = 4;
|
||||
static const String buildAt = "2022-01-09 21:15:10.423669";
|
||||
static const int modifications = 0;
|
||||
}
|
||||
|
||||
@@ -239,9 +239,9 @@ class _ServerPageState extends State<ServerPage>
|
||||
Widget _buildPercentCircle(double percent, String title) {
|
||||
if (percent <= 0) percent = 0.01;
|
||||
if (percent >= 100) percent = 99.9;
|
||||
final height = _media.size.width / 5 < _media.size.height * 0.09
|
||||
? _media.size.height * 0.09
|
||||
: _media.size.height * 0.06;
|
||||
final height = _media.size.width / _media.size.height >= 9 / 16
|
||||
? _media.size.height * 0.051
|
||||
: _media.size.height * 0.088;
|
||||
return SizedBox(
|
||||
width: _media.size.width * 0.2,
|
||||
height: _media.size.height * 0.1,
|
||||
|
||||
Reference in New Issue
Block a user