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.
33 lines
1021 B
Dart
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,
|
|
),
|
|
);
|
|
}
|