FlutterCalenderTile class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- FlutterCalenderTile
Constructors
-
FlutterCalenderTile({Key? key, VoidCallback? onDateSelected, DateTime? date, Widget? child, TextStyle? dateStyles, String? dayOfWeek, TextStyle? dayOfWeekStyle, bool isDayOfWeek = false, bool isSelected = false, bool inMonth = true, List<
FlutterCalenderEvent> ? events, Color? defaultDayColor, Color? defaultOutOfMonthDayColor, Color? selectedColor, Color? selectedTodayColor, Color? todayColor, Color? eventColor, Color? eventDoneColor}) -
const
Properties
- child → Widget?
-
final
- date → DateTime?
-
final
- dateStyles → TextStyle?
-
final
- dayOfWeek → String?
-
final
- dayOfWeekStyle → TextStyle?
-
final
- defaultDayColor → Color?
-
final
- defaultOutOfMonthDayColor → Color?
-
final
- eventColor → Color?
-
final
- eventDoneColor → Color?
-
final
-
events
→ List<
FlutterCalenderEvent> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inMonth → bool
-
final
- isDayOfWeek → bool
-
final
- isSelected → bool
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onDateSelected → VoidCallback?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedColor → Color?
-
final
- selectedTodayColor → Color?
-
final
- todayColor → Color?
-
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
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
-
renderDateOrDayOfWeek(
BuildContext context) → Widget - This function renderDateOrDayOfWeek renders the week view or the month view. It is responsible for displaying a calendar tile. This can be a day (i.e. "Mon", "Tue" ...) in the header row or a date tile for each day of a week or a month. The property isDayOfWeek of the FlutterCalenderTile decides, if the rendered item should be a day or a date tile.
-
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