How To Create A Flutter Table Calendar In Just 5 Minutes!

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024

Комментарии • 54

  • @AIWithFlutter
    @AIWithFlutter  Год назад +3

    Subscribe to our channel -----> tinyurl.com/ujuv8hmm

  • @ceyrpaxceyrpax6260
    @ceyrpaxceyrpax6260 Год назад +10

    I don't speak much English and I understand you perfectly, you explain the code and the configurations very well, thanks👍👍👍

  • @JirolBikes
    @JirolBikes 3 месяца назад +2

    how to disable selection of previous dates?

  • @soyACHEE
    @soyACHEE Год назад +2

    Thanks for sharing, I see that now you talk more, great!

  • @sakhildevan
    @sakhildevan Год назад +4

    can you do a video of firebase of the calender app

  • @amal22555
    @amal22555 11 месяцев назад +3

    Hi
    Thanks for this tutorial, it is really helpfull. 😍
    Please let me know how we can change the color for focused day and current day.

    • @AIWithFlutter
      @AIWithFlutter  11 месяцев назад +2

      Hi, thanks for your reply ! To change the color for focused day and current day, you have to modify it in calendarStyle parameter. Something like this.
      calendarStyle: CalendarStyle(
      todayDecoration: BoxDecoration(
      color: ColorSets.accent.withOpacity(0.5), shape: BoxShape.circle),
      selectedDecoration:
      BoxDecoration(color: ColorSets.accent, shape: BoxShape.circle),
      )

  • @soloplayerid
    @soloplayerid Год назад +4

    NOICE 🔥🔥

  • @shinystick241
    @shinystick241 Год назад +5

    Best tutorial man, thanks brother!

  • @eduardomassud7160
    @eduardomassud7160 Год назад +2

    Is there a quick way to jump between years? If I want a date 2 years from now, how can I go there without sliding a thousand times?

    • @AIWithFlutter
      @AIWithFlutter  Год назад

      Hi 👋, for this table calendar package , currently it’s not possible yet to achieve your needs to jump between years. Probably you checkout native date picker to solve your problem.

  • @user-xe8vl9eh9l
    @user-xe8vl9eh9l Год назад +2

    how can i display this calendar on click of button

    • @AIWithFlutter
      @AIWithFlutter  Год назад

      Hi, you can checkout to the tutorial below about hiding flutter widget.
      ruclips.net/video/FS5JQpp2gks/видео.html

  • @aouadicharaf1038
    @aouadicharaf1038 7 месяцев назад +2

    ❤❤❤

  • @user-xe8vl9eh9l
    @user-xe8vl9eh9l Год назад +2

    Hi How can i format the date like i want only sep 6,2022 how can i get this kind of format , can anyone please help

    • @AIWithFlutter
      @AIWithFlutter  Год назад

      DateFormat.yMMMd().format(DateTime.now())
      This is the formatter to get the format that you stated.
      Just replace the DateTime.now() with the calendar date selected.

  • @maicolr8083
    @maicolr8083 Год назад +2

    Thanksssssssssssssssssssssssssssssssss

  • @xXxXxMrGamexXxXx
    @xXxXxMrGamexXxXx Год назад +2

    Nice video just i got a issue, when i get the day in console print the extactly day but when I try to save any event in my firebase collection if I pick the 1 Jan 2023, in firebase the day save is 31 dec 2022 someone know how to fix this?

    • @AIWithFlutter
      @AIWithFlutter  Год назад

      Hi, I would suggest you to debug this issue by commenting out event from calendar and create a mock event data to save into your firebase collection on 1 Jan 2023. If it still saved on the wrong date, it means it's the firebase collection issue. Maybe you have to recreate the collection instance. If it saved correctly , it means the data passed to firebase collection was manipulated. Maybe you can print the data before pass into firebase collection. Thanks.

  • @mrs.dj0019
    @mrs.dj0019 Год назад +3

    Thank you so much for sharing ,
    So useful 🙏🏻

  • @rishabhsahu9163
    @rishabhsahu9163 11 месяцев назад +1

    How to change the color of highlighted selected date?

  • @alifaditya1547
    @alifaditya1547 Год назад +2

    thankyou sir, this vid really helpful

  • @TrikNgonlen
    @TrikNgonlen Год назад +2

    A W E S O M E !

  • @NazaCamia
    @NazaCamia Год назад +2

    🤟🏻🤟🏻

  • @plosk20
    @plosk20 Год назад +2

    Thank you very much

  • @unclebob5644
    @unclebob5644 Год назад +3

    Superb !!

  • @mohammedabduraboal-haig9179
    @mohammedabduraboal-haig9179 3 месяца назад

    i got an error in line 49 , which _onDaySelected need to parameters what should i write

    • @shokhjahon_dev
      @shokhjahon_dev 2 месяца назад

      check documentation, maybe parameters changed

  • @tanvirakon9104
    @tanvirakon9104 Год назад +1

    when i select a day at different month , it works but suddenly it slides and current month comes. it doesn't stay at random month after selecting, but it selects. please help

    • @AIWithFlutter
      @AIWithFlutter  Год назад +1

      Hi, usually this happens because you set focusedDay to a static value (for example, DateTime.now()), so whenever the table calendar rebuilds (for example, selecting different month), it will reset the calendar back the the static value set. To prevent this from happening, you should store and update focusedDay whenever any callback exposes it. For example, you can store a var initialDate = DateTime.now(). Then set focusedDay to initialDate var. Most importantly, update the initialDate value in onPageChanged parameter. Something like this
      var initialDate = Datetime.now();
      TableCalendar(
      focusedDate : initialDate;
      onPageChanged: (focusedDay) {
      initialDate = focusedDay;
      },
      );

    • @istiakahmed3033
      @istiakahmed3033 3 месяца назад

      @@AIWithFlutter Thanks man. I was facing same issue. Now its solves seeing your solution

  • @henryc3067
    @henryc3067 Год назад +2

    Can you make a video on how to add events?

    • @AIWithFlutter
      @AIWithFlutter  Год назад

      Hi 👋, yes of course. We will publish the tutorial as soon as possible.

    • @henryc3067
      @henryc3067 Год назад +1

      @@AIWithFlutter Thank you, I''m honestly waiting everyday for this tutorial because the other tutorials and internet tutorials I've seen have been confusing. I'm new to coding and this is an important for the project i'm working on.

    • @AIWithFlutter
      @AIWithFlutter  Год назад +1

      @@henryc3067 Hi, we have uploaded add event to table calendar tutorial. Please let us know if you have any questions. We are more than willing to help.
      ruclips.net/video/ASCs_g8RJ9s/видео.html

  • @rajattyagi6164
    @rajattyagi6164 Год назад +1

    hey, how can I change the background color of the table calendar as here initially showing white color in background i want green.

    • @techfauz
      @techfauz 4 месяца назад

      Create a container with the color of your choice then use TableCalendar as your container child.

  • @mao3043
    @mao3043 Год назад +2

    Thank u for sharing. Helpful!

  • @chaimamazouz5250
    @chaimamazouz5250 Год назад +3

    So useful thanks 😊❤

  • @lilylim5031
    @lilylim5031 8 месяцев назад

    Hi, may I know how to I add a text below the header < November 2022>

  • @udomdechkrub1921
    @udomdechkrub1921 Год назад +2

    Great explanation.

  • @sallus449
    @sallus449 Год назад

    what about the range of dates if we want to select like first date and end date

    • @AIWithFlutter
      @AIWithFlutter  Год назад

      Hi, unfortunately the table calendar package used in this tutorial is not able to select a range of dates. But we found another package that could do it ---> scrollable_clean_calendar. The team will try to create a tutorial for it. Thanks for your comment