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

Custom Icons not working in the latest version of flutter #207

Closed
true-zero opened this issue Mar 3, 2020 · 2 comments
Closed

Custom Icons not working in the latest version of flutter #207

true-zero opened this issue Mar 3, 2020 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@true-zero
Copy link

Version of flutter_calendar_carousel

v1.4.11

Expected behavior

Running this code example given I expected an application like the one below which is shown in the README.
image

Actual behavior

I get an app with no person icons in the bottom right corner.
image

flutter doctor result (run flutter doctor in terminal)

[√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.18362.657], locale en-GB)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[√] Android Studio (version 3.6)
[√] Connected device (1 available)

• No issues found!

Steps to reproduce the behavior

  1. Download the latest version of flutter and flutter_calendar_carousel v1.4.11
  2. Copy the code from here
  3. Run the application and you'll see no icons.
@kcissewski
Copy link

I'm also facing this issue, tried the newest version of flutter (v1.12.13+hotfix.9) and also tried to downgrade to v1.12.13+hotfix.5 but still, this feature is not working. Any update or possible workaround? Thanks!

@hyochan
Copy link
Member

hyochan commented Apr 15, 2020

Sorry for the delay. I've seen this issue earlier but forgot to reply
Try to add below code in _calendarCarouselNoHeader. This example is only applied in weekFormat in our example project.

      markedDateShowIcon: true,
      markedDateIconMaxShown: 2,
      markedDateIconBuilder: (event) {
        return event.icon;
      },
      markedDateMoreShowTotal:
          true,

@hyochan hyochan closed this as completed Apr 15, 2020
@hyochan hyochan added help wanted Extra attention is needed and removed maybe bug regression labels Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants