Skip to content

[form_builder_phone_field]: Wrong flag of Martinique #42

@PollyGlot

Description

@PollyGlot

Is there an existing issue for this?

  • I have searched the existing issues

Package/Plugin version

1.3

Platforms

  • Android
  • iOS
  • Linux
  • MacOS
  • Web
  • Windows

Flutter doctor

[✓] Flutter (Channel stable, 3.7.12, on macOS 13.4.1 22F770820d darwin-x64, locale fr-FR)
    • Flutter version 3.7.12 on channel stable at /Users/paul.trinko/dev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4d9e56e694 (4 months ago), 2023-04-17 21:47:46 -0400
    • Engine revision 1a65d409c7
    • Dart version 2.19.6
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/paul.trinko/Library/Android/sdk
    • Platform android-33, build-tools 33.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.81.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.70.0

[✓] Connected device (3 available)
    • Pixel 6 Pro (mobile) • 18261FDEE0015A • android-arm64  • Android 14 (API 34)
    • macOS (desktop)      • macos          • darwin-x64     • macOS 13.4.1 22F770820d darwin-x64
    • Chrome (web)         • chrome         • web-javascript • Google Chrome 115.0.5790.170

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Minimal code example

List<String> countryIsoList = const [
  'FR',
  'BE',
  'CH',
  'DE',
  'ES',
  'IT',
  'MA',
  'LU',
  'AD',
  'MC',
  'AT',
  'PT',
  'NL',
  'MQ', // Martinique
];

Current Behavior

The package uses a flag that is not a correct flag of Martinique

More to read here : https://en.wikipedia.org/wiki/Flag_of_Martinique

Expected Behavior

The official flag is Red-Green-Black

Steps To Reproduce

Using countryFilterByIsoCode for Martinique: "MQ"

Aditional information

Screenshot_20230811-154021

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions