import 'package:flutter/material.dart'; class StepDone extends StatelessWidget { const StepDone({super.key, required this.onComplete}); final VoidCallback onComplete; @override Widget build(BuildContext context) { return Padding( padding: const EdgeInsets.all(24), child: Column( mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.stretch, children: [ const Icon(Icons.check_circle_outline, size: 72), const SizedBox(height: 24), Text( 'Setup complete', style: Theme.of(context).textTheme.headlineSmall, textAlign: TextAlign.center, ), const SizedBox(height: 12), const Text( 'Your floor plan and sensors are configured. You can add more sensors and tags at any time from the main screen.', textAlign: TextAlign.center, ), const SizedBox(height: 32), FilledButton( onPressed: onComplete, child: const Text('Go to floor plan'), ), ], ), ); } }