RangeCalendar class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- RangeCalendar
Constructors
-
RangeCalendar({Key? key, required Function onDateSelected, required Function onTapRange, Color backgroundColorCircleDaySelected = Colors.green, Color colorTextSelected = Colors.black, Color backgroundColorDayNotRanged = Colors.white, Color backgroundColorDayIsRanged = const Color(0xffDCDCDC), Color backgroundColorPointerEvent = Colors.red, Color colorIconRangeSelected = Colors.green, Color colorIconsRangeNotSelected = const Color(0xffDCDCDC), Map<
DateTime, List< events = const {}, Widget titleListEvents = const SizedBox(), Color colorLabelWeekday = const Color(0xff9E9E9E), List<Widget> >String> listLabelWeekday = const ["SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"], List<String> listOfMonthsOfTheYear = const ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], bool viewYerOnMonthName = true}) -
const
Properties
- backgroundColorCircleDaySelected → Color
-
Circle background color on selected date
final
- backgroundColorDayIsRanged → Color
-
Background color of selected dates
final
- backgroundColorDayNotRanged → Color
-
Background color of unselected dates
final
- backgroundColorPointerEvent → Color
-
Event indicator point color
final
- colorIconRangeSelected → Color
-
Color of selected range icon
final
- colorIconsRangeNotSelected → Color
-
Unselected range icon color
final
- colorLabelWeekday → Color
-
Weekday name color
final
- colorTextSelected → Color
-
Text color in selected range
final
-
events
→ Map<
DateTime, List< Widget> > -
Map of events => Map<DateTime, List
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
listLabelWeekday
→ List<
String> -
Default list with days of the week
final
-
listOfMonthsOfTheYear
→ List<
String> -
Standard list with the name of the months of the year
final
- onDateSelected → Function
-
Function that returns the selected date
final
- onTapRange → Function
-
Function that returns the selected range
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- titleListEvents → Widget
-
Title for event list
final
- viewYerOnMonthName → bool
-
Display the current year beside the month
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _RangeCalendarState -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of
DiagnosticsNode
objects describing this node's children.inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited