app/lib/screens/otp.dart
2022-05-23 01:06:14 +07:00

27 lines
648 B
Dart

import 'package:flutter/material.dart';
import 'package:nekoya_flutter/components/otp_body.dart';
class Otp extends StatefulWidget {
const Otp({Key? key, required this.otpToken}) : super(key: key);
final String otpToken;
@override
State<Otp> createState() => _OtpState();
}
class _OtpState extends State<Otp> {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: const Color(0xff1b1c1e),
appBar: AppBar(
title: const Text('OTP'),
centerTitle: true,
backgroundColor: const Color(0xff212226),
),
body: OtpBody(otpToken: widget.otpToken,),
);
}
}