Files
companion/lib/features/onboarding/steps/step_floor_plan.dart
T
2026-05-07 18:35:58 +02:00

31 lines
903 B
Dart

import 'package:flutter/material.dart';
class StepFloorPlan extends StatelessWidget {
const StepFloorPlan({super.key, required this.onComplete});
final VoidCallback onComplete;
@override
Widget build(BuildContext context) {
return Padding(
padding: const EdgeInsets.all(24),
child: Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
Text('Draw floor plan',
style: Theme.of(context).textTheme.titleLarge),
const SizedBox(height: 16),
// TODO: embed KonvaWebView in editor mode (no live overlays).
// User draws rooms, sets scale, then taps Continue.
const Expanded(child: Placeholder()),
const SizedBox(height: 16),
FilledButton(
onPressed: onComplete,
child: const Text('Continue'),
),
],
),
);
}
}