fixed const
This commit is contained in:
@@ -37,10 +37,10 @@ class _NewNumberScreenState extends State<NewNumberScreen> {
|
||||
resizeToAvoidBottomInset: false,
|
||||
appBar: AppBar(
|
||||
backgroundColor: Colors.white,
|
||||
iconTheme: IconThemeData(
|
||||
iconTheme: const IconThemeData(
|
||||
color: Colors.black,
|
||||
),
|
||||
title: Text(
|
||||
title: const Text(
|
||||
'Añadir numero',
|
||||
style: TextStyle(
|
||||
color: Colors.black,
|
||||
@@ -61,14 +61,14 @@ class _NewNumberScreenState extends State<NewNumberScreen> {
|
||||
Form(
|
||||
key: _formKey,
|
||||
child: Padding(
|
||||
padding: EdgeInsets.only(bottom: 5),
|
||||
padding: const EdgeInsets.only(bottom: 5),
|
||||
child: IntlPhoneField(
|
||||
controller: controller.newPhoneNo,
|
||||
initialCountryCode: 'CO',
|
||||
onChanged: (newPhoneNo) {
|
||||
completePhoneNumber = newPhoneNo.completeNumber;
|
||||
},
|
||||
decoration: InputDecoration(
|
||||
decoration: const InputDecoration(
|
||||
enabledBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(color: Color(0xFFECECEC)),
|
||||
borderRadius: BorderRadius.all(
|
||||
@@ -92,7 +92,7 @@ class _NewNumberScreenState extends State<NewNumberScreen> {
|
||||
style: TextStyle(fontSize: 13.0, color: Color(0xFF65676B))),
|
||||
),
|
||||
Padding(
|
||||
padding: EdgeInsets.only(bottom: 30),
|
||||
padding: const EdgeInsets.only(bottom: 30),
|
||||
child: Center(
|
||||
child: PrimaryButtom(
|
||||
onPressed: () {
|
||||
|
||||
Reference in New Issue
Block a user