Skip to content

Commit a9d2b64

Browse files
author
Armen
committed
Removed analyzer warnings from example/lib/main.dart
1 parent f258901 commit a9d2b64

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

example/lib/main.dart

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import 'dart:developer';
2+
13
import 'package:flutter/material.dart';
24
import 'package:intl_phone_field_extended/intl_phone_field.dart';
35

@@ -9,6 +11,7 @@ class MyApp extends StatefulWidget {
911
const MyApp({Key? key}) : super(key: key);
1012

1113
@override
14+
// ignore: library_private_types_in_public_api
1215
_MyAppState createState() => _MyAppState();
1316
}
1417

@@ -65,10 +68,10 @@ class _MyAppState extends State<MyApp> {
6568
),
6669
languageCode: "en",
6770
onChanged: (phone) {
68-
print(phone.completeNumber);
71+
log(phone.completeNumber);
6972
},
7073
onCountryChanged: (country) {
71-
print('Country changed to: ${country.name}');
74+
log('Country changed to: ${country.name}');
7275
},
7376
),
7477
const SizedBox(

0 commit comments

Comments
 (0)