CalendarAppBar class
Code starts here
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- CalendarAppBar
- Implemented types
Constructors
-
CalendarAppBar({Key? key, required DateTime lastDate, DateTime? firstDate, required Function onDateChanged, DateTime? selectedDate, List<
DateTime> ? events, bool? fullCalendar, bool? backButton, Color? accent, Color? white, Color? black, double? padding, String? locale}) - initialization of CalendarAppBar
Properties
- accent → Color?
-
accent color of UI
final
- backButton → bool?
-
backButton shows BackButton in set to true
final
- black → Color?
-
definiton of your specific shade of black
final
-
events
→ List<
DateTime> ? -
list of dates with specific event (shown as a dot above the date)
final
- firstDate → DateTime?
-
the first date shown on the calendar
final
- fullCalendar → bool?
-
definition of the atribute which shows full calendar view when pressing on date
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- lastDate → DateTime
-
the last date shown on the calendar
final
- locale → String?
-
definiton of the calendar language
final
- onDateChanged → Function
-
function which returns currently selected date
final
- padding → double?
-
definition of your custom padding
final
- preferredSize → Size
-
creating a getter for preferredSize
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedDate → DateTime?
-
final
- white → Color?
-
definiton of your specific shade of white
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _CalendarAppBarState -
creating state
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