MarkerCalendarDelegate<T> class
The design of the calendar is simply to display a marker in the center of the calendar on days that have events.
Specify the widget for the marker in marker.
You can change the color and size of the marker by specifying color, size, selectedColor, todayColor, and outsideColor.
イベントがある日に中央にマーカーを表示するだけのカレンダーのデザインです。
markerにマーカーのウィジェットを指定します。
colorやsize、selectedColor、todayColor、outsideColorを指定することで、マーカーの色やサイズを変更できます。
- Inheritance
-
- Object
- CalendarDelegate<
T> - MarkerCalendarDelegate
Constructors
Properties
- color → Color?
-
Marker color.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- marker → Widget?
-
Marker widget to be displayed in the center.
final
- outsideColor → Color?
-
The color of markers outside the display range of the month.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedColor → Color?
-
Selected color of the marker.
final
- size → double?
-
Marker icon size.
final
- todayColor → Color?
-
Today's color of the marker.
final
Methods
-
buildDay(
BuildContext context, CalendarStyle style, DateTime date) → Widget -
Generates the date display portion.
inherited
-
buildDaysOfWeekWeekday(
BuildContext context, CalendarStyle style, DateTime date) → Widget -
Generates the weekday display portion of the weekday.
inherited
-
buildDaysOfWeekWeekend(
BuildContext context, CalendarStyle style, DateTime date) → Widget -
Generate the display portion of the weekend days of the week.
inherited
-
buildEvents(
BuildContext context, CalendarStyle style, DateTime date, List< CalendarEventItem< events) → Widget?T> > -
Generate a widget to display the event.
override
-
buildHolidayDay(
BuildContext context, CalendarStyle style, DateTime date) → Widget -
Generates the display portion of the holiday date.
inherited
-
buildOutsideDay(
BuildContext context, CalendarStyle style, DateTime date) → Widget -
Generates the display portion of dates outside the month range.
inherited
-
buildOutsideEvents(
BuildContext context, CalendarStyle style, DateTime date, List< CalendarEventItem< events) → Widget?T> > -
Generates a widget that displays events for dates outside the month range.
override
-
buildOutsideHolidayDay(
BuildContext context, CalendarStyle style, DateTime date) → Widget -
Generates the display portion of holiday dates outside of the month range.
inherited
-
buildOutsideWeekendDay(
BuildContext context, CalendarStyle style, DateTime date) → Widget -
Generates the display portion of weekend dates outside of the month range.
inherited
-
buildSelectedDay(
BuildContext context, CalendarStyle style, DateTime date) → Widget -
Generates the display portion of the selected date.
inherited
-
buildSelectedEvents(
BuildContext context, CalendarStyle style, DateTime date, List< CalendarEventItem< events) → Widget?T> > -
Generates a widget that displays events for the selected date.
override
-
buildTodayDay(
BuildContext context, CalendarStyle style, DateTime date) → Widget -
Generates the display portion of today's date.
inherited
-
buildTodayEvents(
BuildContext context, CalendarStyle style, DateTime date, List< CalendarEventItem< events) → Widget?T> > -
Generates a widget that displays today's events.
override
-
Generates display grains for unavailable dates.
inherited
-
buildWeekendDay(
BuildContext context, CalendarStyle style, DateTime date) → Widget -
Generate the display portion of the weekend date.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited