create otp file
This commit is contained in:
parent
03a72075f0
commit
42ff3c73a3
2 changed files with 39 additions and 0 deletions
lib
15
lib/components/otp_body.dart
Normal file
15
lib/components/otp_body.dart
Normal file
|
@ -0,0 +1,15 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
class OtpBody extends StatefulWidget {
|
||||
const OtpBody({Key? key}) : super(key: key);
|
||||
|
||||
@override
|
||||
State<OtpBody> createState() => _OtpBodyState();
|
||||
}
|
||||
|
||||
class _OtpBodyState extends State<OtpBody> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
24
lib/screens/otp.dart
Normal file
24
lib/screens/otp.dart
Normal file
|
@ -0,0 +1,24 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:nekoya_flutter/components/otp_body.dart';
|
||||
|
||||
class Otp extends StatefulWidget {
|
||||
const Otp({Key? key}) : super(key: key);
|
||||
|
||||
@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: const OtpBody(),
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue