Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flags in linux are not shown anymore #357

Open
florianguyot opened this issue Jan 4, 2024 · 0 comments · May be fixed by #358
Open

Flags in linux are not shown anymore #357

florianguyot opened this issue Jan 4, 2024 · 0 comments · May be fixed by #358

Comments

@florianguyot
Copy link

Package 3.2.0 on linux does not show the correct flag ( cf : #28)

I think it is dues to the change #243 Use flag emoji instead of images on mobile.

The case of web is handled but computer distribution as Linux.

I think the change is a simple Patform check when the image is shown but I have to test other platform ( windows and mac)

(kIsWeb || Platform.isLinux)
    ? Image.asset(
       'assets/flags/${_selectedCountry.code.toLowerCase()}.png',
        package: 'intl_phone_field', 
        width: 32,
     ) : 
     Text(
          _selectedCountry.flag,
          style: const TextStyle(fontSize: 18),
      ),
@florianguyot florianguyot changed the title Linux Flags are not shown anymore Flags in linux are not shown anymore Jan 4, 2024
@florianguyot florianguyot linked a pull request Jan 5, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant