update
This commit is contained in:
@@ -3,7 +3,6 @@ import 'package:fcs/domain/entities/auth_result.dart';
|
||||
import 'package:fcs/domain/entities/auth_status.dart';
|
||||
import 'package:fcs/pages/main/model/main_model.dart';
|
||||
import 'package:fcs/pages/signin/signin_logic.dart';
|
||||
import 'package:fcs/pages/widgets/bottom_up_page_route.dart';
|
||||
import 'package:fcs/pages/widgets/local_text.dart';
|
||||
import 'package:fcs/pages/widgets/progress.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
@@ -23,9 +22,9 @@ class SigninPage extends StatefulWidget {
|
||||
|
||||
class _SigninPageState extends State<SigninPage> {
|
||||
bool _isLoading = false;
|
||||
String dialCode;
|
||||
late String dialCode;
|
||||
|
||||
TextEditingController phonenumberCtl;
|
||||
TextEditingController phonenumberCtl = new TextEditingController();
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
@@ -82,7 +81,7 @@ class _SigninPageState extends State<SigninPage> {
|
||||
children: <Widget>[
|
||||
Container(
|
||||
decoration: BoxDecoration(
|
||||
border: Border.all(color: Colors.grey[400], width: 1),
|
||||
border: Border.all(color: Colors.grey.shade400, width: 1),
|
||||
borderRadius: BorderRadius.all(Radius.circular(12.0))),
|
||||
child: CountryCodePicker(
|
||||
onChanged: _countryChange,
|
||||
@@ -152,7 +151,7 @@ class _SigninPageState extends State<SigninPage> {
|
||||
|
||||
_countryChange(CountryCode countryCode) {
|
||||
setState(() {
|
||||
dialCode = countryCode.dialCode;
|
||||
dialCode = countryCode.dialCode ?? '+95';
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user