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.
26 lines
669 B
Dart
26 lines
669 B
Dart
import 'package:cutdex/l10n/l10n.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:cutdex_ui/theme.dart';
|
|
|
|
/// Shared drag feedback for the Agent and media panels.
|
|
class DropToAddOverlay extends StatelessWidget {
|
|
const DropToAddOverlay({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
final theme = Theme.of(context);
|
|
return IgnorePointer(
|
|
child: ColoredBox(
|
|
color: AppTheme.dropOverlayBackground(context),
|
|
child: Center(
|
|
child: Text(
|
|
context.l10n.dropToAdd,
|
|
style: theme.textTheme.titleMedium?.copyWith(color: Colors.white),
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|