You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.4 KiB
Dart
52 lines
1.4 KiB
Dart
import 'package:doctor_app_flutter/widgets/shared/app_scaffold_widget.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:hexcolor/hexcolor.dart';
|
|
|
|
import '../../widgets/auth/verification_methods.dart';
|
|
|
|
class VerificationMethodsScreen extends StatefulWidget {
|
|
const VerificationMethodsScreen({Key key, this.password}) : super(key: key);
|
|
|
|
@override
|
|
_VerificationMethodsScreenState createState() =>
|
|
_VerificationMethodsScreenState();
|
|
|
|
final password;
|
|
}
|
|
|
|
class _VerificationMethodsScreenState extends State<VerificationMethodsScreen> {
|
|
bool _isLoading = false;
|
|
|
|
void changeLoadingState(isLoading) {
|
|
setState(() {
|
|
_isLoading = isLoading;
|
|
});
|
|
}
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return AppScaffold(
|
|
isLoading: _isLoading,
|
|
isShowAppBar: false,
|
|
isHomeIcon: false,
|
|
backgroundColor: HexColor('#F8F8F8'),
|
|
body: ListView(children: <Widget>[
|
|
Container(
|
|
margin: EdgeInsetsDirectional.fromSTEB(30, 0, 30, 0),
|
|
child: Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: <Widget>[
|
|
SizedBox(
|
|
height: 50,
|
|
),
|
|
VerificationMethods(
|
|
password: widget.password,
|
|
changeLoadingState: changeLoadingState,
|
|
),
|
|
],
|
|
),
|
|
),
|
|
]));
|
|
}
|
|
}
|