2022-04-29 09:11:05 +02:00
|
|
|
import 'package:flutter/material.dart';
|
2022-05-16 02:51:47 +02:00
|
|
|
|
2023-09-22 09:29:07 +02:00
|
|
|
import 'package:nekoya_app/components/otp_body.dart';
|
2022-04-29 09:11:05 +02:00
|
|
|
|
|
|
|
class Otp extends StatefulWidget {
|
2022-05-22 20:06:14 +02:00
|
|
|
const Otp({Key? key, required this.otpToken}) : super(key: key);
|
|
|
|
|
|
|
|
final String otpToken;
|
2022-04-29 09:11:05 +02:00
|
|
|
|
|
|
|
@override
|
|
|
|
State<Otp> createState() => _OtpState();
|
|
|
|
}
|
|
|
|
|
|
|
|
class _OtpState extends State<Otp> {
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return Scaffold(
|
|
|
|
backgroundColor: const Color(0xff1b1c1e),
|
|
|
|
appBar: AppBar(
|
2022-05-22 19:31:02 +02:00
|
|
|
title: const Text('OTP'),
|
2022-04-29 09:11:05 +02:00
|
|
|
centerTitle: true,
|
|
|
|
backgroundColor: const Color(0xff212226),
|
|
|
|
),
|
2023-09-22 09:29:07 +02:00
|
|
|
body: OtpBody(
|
|
|
|
otpToken: widget.otpToken,
|
|
|
|
),
|
2022-04-29 09:11:05 +02:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|