31 lines
903 B
Dart
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'),
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|