feat(inspector): add animated independent corners and layered shadow controls

This commit is contained in:
lingjhf committed 2026-10-09 19:24:00 +08:00
1 parent 77dbb1897f
commit 8d1f8db7e8
23 files changed
+2375 -228

No files matched your search

@@ -4,6 +4,7 @@ import 'package:flutter/material.dart';
import '../../../integrations/platform/device_experience.dart';
import '../../../l10n/l10n.dart';
import '../../../shared/layout/workspace_layout_metrics.dart';
import 'package:cutdex_ui/icons.dart';
import 'package:cutdex_ui/theme.dart';
@@ -61,6 +62,11 @@ class BoundedEditorLayout extends StatelessWidget {
: context.l10n.expandProperties,
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: desktop && tool == EditorTool.properties
? AppTheme.propertiesPanelTheme(Theme.of(context))
.textTheme
.titleSmall
: null,
),
),
],
@@ -103,7 +109,12 @@ class BoundedEditorLayout extends StatelessWidget {
right: 0,
width: page
? constraints.maxWidth
: math.min(320, constraints.maxWidth),
: math.min(
desktop && tool == EditorTool.properties
? WorkspaceLayoutMetrics.propertiesPanelWidth
: 320,
constraints.maxWidth,
),
child: Material(
key: const Key('editor-tool-surface'),
elevation: page ? 0 : 8,