51 lines
1.6 KiB
Dart
51 lines
1.6 KiB
Dart
import 'package:cutdex/l10n/l10n.dart';
|
|
import 'package:cutdex/shared/layout/workspace_layout_metrics.dart';
|
|
import 'package:cutdex_ui/icons.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
class WorkflowPage extends StatelessWidget {
|
|
const WorkflowPage({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) => ColoredBox(
|
|
color: Theme.of(context).colorScheme.surface,
|
|
child: Padding(
|
|
padding: const EdgeInsets.all(WorkspaceLayoutMetrics.desktopOuterSpacing),
|
|
child: Column(
|
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
|
children: [
|
|
Text(
|
|
context.l10n.workflow,
|
|
style: Theme.of(context).textTheme.titleLarge,
|
|
),
|
|
Expanded(
|
|
child: Center(
|
|
child: ConstrainedBox(
|
|
constraints: const BoxConstraints(maxWidth: 420),
|
|
child: Column(
|
|
mainAxisSize: MainAxisSize.min,
|
|
children: [
|
|
Icon(
|
|
AppIcons.timeline,
|
|
size: 40,
|
|
color: Theme.of(context).colorScheme.primary,
|
|
),
|
|
const SizedBox(height: 16),
|
|
Text(
|
|
context.l10n.workflowDescription,
|
|
textAlign: TextAlign.center,
|
|
style: Theme.of(context).textTheme.bodyMedium?.copyWith(
|
|
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
|
),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|