Files
cutdex/lib/features/properties/properties_panel.dart
T
lingjhf 27e77fff39 feat: initial Cutdex application
Add the Flutter video editing application with project management, media
import, timeline editing, preview, AI assistance, diagnostics and settings.

Include shared UI and native host packages, platform runners, application
tests and release tooling.

Provide usage and contribution guides, the MIT license and third-party
notices. Exclude local credentials, build outputs and validation data.
2026-10-05 23:36:23 +08:00

33 lines
1021 B
Dart

import 'package:flutter/material.dart';
import 'package:cutdex_ui/widgets.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: 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,
),
);
}