mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-19 08:36:17 +08:00
opt dyn panel
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user