diff --git a/lib/flag_widget.dart b/lib/flag_widget.dart index a5a3b50..cd6a22e 100644 --- a/lib/flag_widget.dart +++ b/lib/flag_widget.dart @@ -17,7 +17,7 @@ class Flag extends StatelessWidget { final String country; /// The flag to display. Enum value for `FlagsCode`. - /// If this inputed, `country` will be ingnore. + /// If this is set, `country` will be ignored. /// /// This value listed in https://github.com/LunaGao/flag_flutter/blob/master/un_members.txt. final FlagsCode countryCode; @@ -41,7 +41,7 @@ class Flag extends StatelessWidget { /// FlagsCode. /// /// You can using `Flag.flagsCode.contains('YOUR_FLAG_CODE'.toLowerCase())` to - /// check if the Flagcode included in the list. + /// check if the flag code included in the list. /// Example: /// ``` /// if (Flag.flagsCode.contains('AF'.toLowerCase())) diff --git a/pubspec.lock b/pubspec.lock index 76575b7..0722ecb 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -7,7 +7,7 @@ packages: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.8.1" + version: "2.8.2" boolean_selector: dependency: transitive description: @@ -21,7 +21,7 @@ packages: name: characters url: "https://pub.dartlang.org" source: hosted - version: "1.1.0" + version: "1.2.0" charcode: dependency: transitive description: @@ -68,7 +68,7 @@ packages: name: flutter_svg url: "https://pub.dartlang.org" source: hosted - version: "0.23.0+1" + version: "1.0.0" flutter_test: dependency: "direct dev" description: flutter @@ -80,7 +80,7 @@ packages: name: matcher url: "https://pub.dartlang.org" source: hosted - version: "0.12.10" + version: "0.12.11" meta: dependency: transitive description: @@ -101,21 +101,21 @@ packages: name: path_drawing url: "https://pub.dartlang.org" source: hosted - version: "0.5.1" + version: "1.0.0" path_parsing: dependency: transitive description: name: path_parsing url: "https://pub.dartlang.org" source: hosted - version: "0.2.1" + version: "1.0.0" petitparser: dependency: transitive description: name: petitparser url: "https://pub.dartlang.org" source: hosted - version: "4.0.2" + version: "4.4.0" sky_engine: dependency: transitive description: flutter @@ -162,7 +162,7 @@ packages: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.4.2" + version: "0.4.3" typed_data: dependency: transitive description: @@ -176,14 +176,14 @@ packages: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.0" + version: "2.1.1" xml: dependency: transitive description: name: xml url: "https://pub.dartlang.org" source: hosted - version: "5.0.2" + version: "5.3.1" sdks: - dart: ">=2.12.0 <3.0.0" + dart: ">=2.14.0 <3.0.0" flutter: ">=1.24.0-7.0" diff --git a/pubspec.yaml b/pubspec.yaml index 5bdc569..3d31633 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,12 +4,12 @@ version: 5.0.1 homepage: https://github.com/LunaGao/flag_flutter environment: - sdk: ">=2.12.0 <3.0.0" + sdk: '>=2.12.0 <3.0.0' dependencies: flutter: sdk: flutter - flutter_svg: ^0.23.0+1 + flutter_svg: ^1.0.0 enum_to_string: ^2.0.1 dev_dependencies: