CalendarMasamuneAdapter class

MasamuneAdapter for configuring calendar functions.

startingDayOfWeek allows you to change the starting day of the week.

Select weekendDays to set holidays.

カレンダーの機能を設定するためのMasamuneAdapter

startingDayOfWeekを指定すると1週間の開始曜日を変更できます。

weekendDaysを選択すると休日を設定できます。

Inheritance
  • Object
  • MasamuneAdapter
  • CalendarMasamuneAdapter

Constructors

CalendarMasamuneAdapter({DayOfWeek startingDayOfWeek = DayOfWeek.sunday, List<DayOfWeek> weekendDays = const [DayOfWeek.saturday, DayOfWeek.sunday]})
MasamuneAdapter for configuring calendar functions.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
loggerAdapters List<LoggerAdapter>
Adapters can be defined to add logger functionality.
no setterinherited
Observers can be set up to monitor transitions between pages.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
runZonedGuarded bool
If you set this to true, you can wrap runApp with runZonedGuarded.
no setterinherited
startingDayOfWeek DayOfWeek
Starting day of the week.
final
weekendDays List<DayOfWeek>
Specify holidays.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBuildApp(BuildContext context, Widget app) Widget
Widgets can be added during the build of MasamuneApp.
override
onError(Object error, StackTrace stackTrace) → void
You can describe the process when runZonedGuarded is set to true.
inherited
onInitScope(MasamuneAdapter adapter) → void
Called when initializing MasamuneAdapterScope.
override
onMaybeBoot() FutureOr<void>
It may be called during application initialization.
inherited
onPreRunApp() FutureOr<void>
You can describe the process before runApp.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

primary CalendarMasamuneAdapter
You can retrieve the CalendarMasamuneAdapter first given by MasamuneAdapterScope.
no setter