Skip to content

Commit

Permalink
Removed analyzer warnings from example/lib/main.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Kocharyan committed Sep 28, 2024
1 parent f258901 commit a9d2b64
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'dart:developer';

import 'package:flutter/material.dart';
import 'package:intl_phone_field_extended/intl_phone_field.dart';

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

@override
// ignore: library_private_types_in_public_api
_MyAppState createState() => _MyAppState();
}

Expand Down Expand Up @@ -65,10 +68,10 @@ class _MyAppState extends State<MyApp> {
),
languageCode: "en",
onChanged: (phone) {
print(phone.completeNumber);
log(phone.completeNumber);
},
onCountryChanged: (country) {
print('Country changed to: ${country.name}');
log('Country changed to: ${country.name}');
},
),
const SizedBox(
Expand Down

0 comments on commit a9d2b64

Please sign in to comment.