This commit is contained in:
lollipopkit
2023-08-20 23:30:44 +08:00
parent e643378249
commit 8111a83703
9 changed files with 182 additions and 183 deletions

View File

@@ -99,7 +99,6 @@ class _ServerDetailPageState extends State<ServerDetailPage>
padding: EdgeInsets.only(
left: 13,
right: 13,
top: 13,
bottom: _media.padding.bottom + 77,
),
itemCount: buildFuncs ? _cardsOrder.length + 1 : _cardsOrder.length,

View File

@@ -16,7 +16,7 @@ import '../../../data/res/ui.dart';
import '../../../data/store/private_key.dart';
import '../../../locator.dart';
import '../../widget/custom_appbar.dart';
import '../../widget/tag/editor.dart';
import '../../widget/tag/btn.dart';
import '../private_key/edit.dart';
class ServerEditPage extends StatefulWidget {

View File

@@ -127,7 +127,7 @@ class _ServerPageState extends State<ServerPage>
Widget _buildBodySmall({
required ServerProvider provider,
required List<String> filtered,
EdgeInsets? padding = const EdgeInsets.fromLTRB(7, 10, 7, 7),
EdgeInsets? padding = const EdgeInsets.fromLTRB(7, 0, 7, 7),
bool buildTags = true,
}) {
final count = buildTags ? filtered.length + 2 : filtered.length + 1;
@@ -164,7 +164,7 @@ class _ServerPageState extends State<ServerPage>
child: _buildBodySmall(
provider: pro,
filtered: left,
padding: const EdgeInsets.fromLTRB(7, 10, 0, 7),
padding: const EdgeInsets.fromLTRB(7, 0, 0, 7),
buildTags: false,
),
),
@@ -172,7 +172,7 @@ class _ServerPageState extends State<ServerPage>
child: _buildBodySmall(
provider: pro,
filtered: right,
padding: const EdgeInsets.fromLTRB(0, 10, 7, 7),
padding: const EdgeInsets.fromLTRB(0, 0, 7, 7),
buildTags: false,
),
),

View File

@@ -10,7 +10,7 @@ import '../../../data/provider/snippet.dart';
import '../../../data/res/ui.dart';
import '../../../locator.dart';
import '../../widget/custom_appbar.dart';
import '../../widget/tag/editor.dart';
import '../../widget/tag/btn.dart';
class SnippetEditPage extends StatefulWidget {
const SnippetEditPage({Key? key, this.snippet}) : super(key: key);