fixed const

This commit is contained in:
Juan Felipe Duarte
2023-04-24 11:17:04 -05:00
parent aaa249d6f5
commit 028fce32a9
4 changed files with 29 additions and 21 deletions
+5 -5
View File
@@ -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: () {