Questions tagged [table-calendar]
42 questions
3
votes
0 answers
Flutter Table Calendar how to display events from Firebase
I'm making app with Calendar. Im using TableCalendar package. I also use Firebase Firestore in my app. After implementing TableCalendar i want to display events in calendar. Now i want to use FireStore with Table Calendar. How can i make Table…

Hiedrass
- 75
- 6
2
votes
1 answer
Display number of events in TableCalendar Flutter
TableCalendar package have an gif example of calendar with number of events for given day in bottom right corner of a day.
I've been going through their documentation, but haven't been able to find the solution.
I've learned that those dots are…

narrei
- 516
- 2
- 6
- 19
1
vote
1 answer
How to change color of dates in table_calendar Flutter package?
I was searching for how to change color of dates in Flutter, and couldn't end up with any solution. ChatGPT says its not even possible? :(
Does anyone here know how to do that?

Elle Bishop
- 307
- 11
1
vote
1 answer
Make the table_calendar not reset to the current month view when a day in another month is selected
I'm using table_calendar from Flutter and when I select a day in another month, the calendar resets it's view to the current month again. I don't want this to happen.
Example:
Today is 28 of March.
I go to the May month and select a day there.
Now,…

NeoFahrenheit
- 347
- 5
- 16
1
vote
1 answer
add event to TableCalender flutter
I am new in create calender in flutter.
I try to create table_calendar, and add event to the calender but I got an error.
The code I did:
Map _events = {};
DateTime _focusedDay = DateTime.now();
DateTime _selectedDate;
@override
void…

lirongr1996
- 61
- 6
1
vote
2 answers
Make flutter table calendar resizeable to stop keyboard from overflowing
I am using the table_calendar package.
I want to display events for a current date below the calendar.
Below the events I have a textfield to create a new event. Whenever I try to create a new event the textfield doesn't show as it gets overflowed…

MatsL
- 69
- 8
1
vote
1 answer
Reload TableCalendar (for events) with firebase
I have a problem, it is that i have to reload app to refresh the widget (TableCalendar), i know that there is a setState to detect changes and reload but... i supose i have to execute again the method getData where i have all the information about…

Albert mora costillo
- 17
- 6
1
vote
1 answer
Loading events from Database into calendar events in flutter
I have events coming from my database which I want to display on the table calendar in flutter, how do I go about it? Here is what I have tried doing. This is in the utils.dart file. The events are passed to the calendar.dart file where they are…

Michael Ng'ang'a Njoroge
- 109
- 2
- 10
1
vote
0 answers
How can i fetch data from phpmyadmin and display them as events on table_calender in flutter
Here is my utils.dart code that generates static events, this file is then imported to another dart file where we have the table_calender. the
Future
- ann = fetchadvertannouncements()
is an api that i have created that fetches data from…

Michael Ng'ang'a Njoroge
- 109
- 2
- 10
1
vote
0 answers
How to set event in tablecalendar with APi response?
i need to set event in calendar in flutter Application, and i am getting event data from API here is response,i will be very thankful for it , i am sharing my api response and what type of calendar i want to show
"leave_management": [
…

Abhay kumar bhumihar
- 159
- 1
- 8
1
vote
2 answers
How to use table calendar in flutter to create events
I have copied this code from table calender repo on github table calender and i am getting this errors: Undefined name 'kEvents',kFirstDay, kLastDay and the method 'daysInRange' isn't defined for the type '_TableEventsExampleState'. How do i solve…

Michael Ng'ang'a Njoroge
- 109
- 2
- 10
0
votes
0 answers
Markers not showing up table_calendar widget
I have a bookings collection in Firebase and I am trying to populate the events in TableCalendar using it, my listview Is successfully showing all bookings when I click on a date I I just need the markers to show for each date so the admin knows if…

youtubeuser 1234
- 11
- 2
0
votes
0 answers
Flutter table_calendar skips a data after start date when in range mode
Below is the code for table calendar widget:
TableCalendar(
firstDay: DateTime.now(),
lastDay: DateTime.now().add(const Duration(days: 365)),
focusedDay:…

Amey
- 8,470
- 9
- 44
- 63
0
votes
0 answers
I try to add new event in table with provider , but the code get error
import 'package:booking_calendar/utils.dart';
import 'package:flutter/material.dart';
import 'package:intl/date_symbol_data_local.dart';
import 'pages/events_example.dart';
import 'package:booking_calendar/pages/multi_example.dart';
import…

Udomdech
- 1
- 1
0
votes
0 answers
Adding a event in flutter Calendar project
I am new to flutter/dart. So I couldn't fully understand how to add events in my Calendar.
I am using a package called table_calendar, I read the documents about it but still couldn't manage to do it. This is my current code;
import…

Ömer
- 5
- 2