Gitea CI / Assemble and validate CI artifacts (push) Successful in 1m47s
Gitea CI / Check code and tests (push) Successful in 7m15s
Gitea CI / Build Android APK (push) Successful in 4m6s
Gitea CI / Build Windows x64 app (push) Successful in 3m34s
Gitea CI / Audit and package Windows x64 (push) Successful in 1m29s
Gitea CI / Gitea CI passed (push) Successful in 1s
Gitea Release / Prepare draft Release (push) Failing after 8s
Gitea Release / Upload Android to draft Release (push) Skipped
Gitea Release / Upload Windows to draft Release (push) Skipped
Gitea Release / Verify and publish Release (push) Skipped
36 lines
1.1 KiB
Dart
36 lines
1.1 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
import 'package:cutdex_ui/widgets.dart';
|
|
import 'package:cutdex_ui/theme.dart';
|
|
|
|
import 'properties_content.dart';
|
|
export 'properties_presentation_state.dart';
|
|
|
|
/// Desktop inspector uses compact category tabs over shared property editors.
|
|
class EditorPropertiesPanel extends StatelessWidget {
|
|
const EditorPropertiesPanel({
|
|
super.key,
|
|
required this.projectId,
|
|
required this.timelineId,
|
|
});
|
|
final String projectId;
|
|
final String timelineId;
|
|
@override
|
|
Widget build(BuildContext context) => PropertiesContent(
|
|
projectId: projectId,
|
|
timelineId: timelineId,
|
|
categoryHeaderHeight: AppTheme.isDesktop(context)
|
|
? AppInspectorMetrics.sectionHeader
|
|
: CompactPanelTabs.height,
|
|
categoryControls: (context, categories, selected, onSelected) =>
|
|
CompactPanelTabs<PropertyCategory>(
|
|
values: categories,
|
|
selected: selected,
|
|
labelBuilder: (category) => category.label(context),
|
|
tabKeyBuilder: (category) =>
|
|
ValueKey('property-tab-${category.name}'),
|
|
onSelected: onSelected,
|
|
),
|
|
);
|
|
}
|