mirror of
https://github.com/Iconica-Development/flutter_form_wizard.git
synced 2025-05-19 19:03:47 +02:00
34 lines
826 B
Dart
34 lines
826 B
Dart
// SPDX-FileCopyrightText: 2022 Iconica
|
|
//
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
class ThanksPage extends StatelessWidget {
|
|
const ThanksPage({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
body: Center(
|
|
child: Column(
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
children: [
|
|
const Text(
|
|
"Thanks for filling in the form!",
|
|
style: TextStyle(fontSize: 20),
|
|
),
|
|
const SizedBox(
|
|
height: 20,
|
|
),
|
|
ElevatedButton(
|
|
onPressed: () =>
|
|
Navigator.of(context).popUntil(ModalRoute.withName('/')),
|
|
child: const Text("Next"))
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|