MonthWidgetStyle class

Defines visual properties for MonthWidget.

See also:

Annotations

Constructors

MonthWidgetStyle(BuildContext context, DateTime month, {int? startOfWeek, Decoration? weeksDecoration, EdgeInsetsGeometry? weeksPadding, bool? removeIndividualWeekDecorations, EdgeInsetsGeometry? datePadding, bool? showDatesFromOtherMonths, bool? showDatesFromOtherMonthsAsDisabled})
factory
MonthWidgetStyle.raw({required int startOfWeek, required Decoration weeksDecoration, required EdgeInsetsGeometry weeksPadding, required bool removeIndividualWeekDecorations, required EdgeInsetsGeometry datePadding, required bool showDatesFromOtherMonths, required bool showDatesFromOtherMonthsAsDisabled})
const

Properties

datePadding EdgeInsetsGeometry
final
hashCode int
The hash code for this object.
no setteroverride
removeIndividualWeekDecorations bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showDatesFromOtherMonths bool
Whether dates from adjacent months are displayed to fill the grid.
final
showDatesFromOtherMonthsAsDisabled bool
Whether dates from adjacent months are displayed with lower text opacity.
final
startOfWeek int
final
weeksDecoration Decoration
final
weeksPadding EdgeInsetsGeometry
final

Methods

copyWith({int? startOfWeek, Decoration? weeksDecoration, EdgeInsetsGeometry? weeksPadding, bool? removeIndividualWeekDecorations, EdgeInsetsGeometry? datePadding, bool? showDatesFromOtherMonths, bool? showDatesFromOtherMonthsAsDisabled}) MonthWidgetStyle
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.
override