opt dyn panel

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-24 11:57:57 +08:00
parent da56c66168
commit 86c64fdd05
14 changed files with 403 additions and 853 deletions

View File

@@ -11,9 +11,9 @@ import 'package:flutter/material.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
import 'package:get/get.dart';
Widget addWidget(
ThemeData theme, DynamicItemModel item, BuildContext context, type,
Widget addWidget(ThemeData theme, DynamicItemModel item, BuildContext context,
{floor = 1}) {
final type = item.modules.moduleDynamic?.additional?.type;
late final Color bgColor = floor == 1
? theme.dividerColor.withValues(alpha: 0.08)
: theme.colorScheme.surface;