CoolDatepicker class Null safety
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- CoolDatepicker
Constructors
-
CoolDatepicker({int limitCount = 1, String format = 'yyyy-mm-dd', double iconSize = 25, double calendarSize = 400, List<
DateTime> ? disabledList, List<Map< ? disabledRangeList, int? minYear, int? maxYear, required Function onSelected, bool isRange = false, dynamic resultIcon, dynamic placeholderTS, bool isResultIconLabelReverse = false, String placeholder = '', double resultWidth = 220, double resultHeight = 50, Alignment resultAlign = Alignment.centerLeft, EdgeInsets resultPadding = const EdgeInsets.only(left: 10, right: 10), dynamic resultBD, dynamic resultTS, double labelIconGap = 10, dynamic defaultValue, List<String, DateTime?> >String> ? weekLabelList, List<String> ? monthLabelList, bool isYearMonthDropdownReverse = false, Color bottomSelectedBorderColor = const Color(0XFF6771e4), Color headerColor = const Color(0XFF6771e4), Color arrowIconAreaColor = const Color(0XFF4752e0), Color selectedCircleColor = const Color(0XFF6771e4), Color selectedBetweenAreaColor = const Color(0XFFe2e4fa), Color cancelFontColor = const Color(0XFF4a54c5), LinearGradient okButtonColor = const LinearGradient(colors: [Color(0XFF4a54c5), Color(0XFF6771e4)]), bool isDark = false, String cancelBtnLabel = 'CANCEL', String okBtnLabel = 'OK', bool isResultLabel = true, int? firstWeekDay = DateTime.sunday})
Properties
- arrowIconAreaColor ↔ Color
-
read / write
- bottomSelectedBorderColor ↔ Color
-
read / write
- calendarSize ↔ double
-
read / write
- cancelBtnLabel ↔ String
-
read / write
- cancelFontColor ↔ Color
-
read / write
- defaultValue ↔ dynamic
-
read / write
-
disabledList
↔ List<
DateTime> ? -
read / write
-
disabledRangeList
↔ List<
Map< ?String, DateTime?> > -
read / write
- firstWeekDay ↔ int?
-
read / write
- format ↔ String
-
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- headerColor ↔ Color
-
read / write
- iconSize ↔ double
-
read / write
- isDark ↔ bool
-
read / write
- isRange ↔ bool
-
read / write
- isResultIconLabelReverse ↔ bool
-
read / write
- isResultLabel ↔ bool
-
read / write
- isYearMonthDropdownReverse ↔ bool
-
read / write
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- labelIconGap ↔ double
-
read / write
- limitCount ↔ int
-
read / write
- maxYear ↔ int?
-
read / write
- minYear ↔ int?
-
read / write
-
monthLabelList
↔ List<
String> ? -
read / write
- monthLabelMapList ↔ List
-
read / write
- okBtnLabel ↔ String
-
read / write
- okButtonColor ↔ LinearGradient
-
read / write
- onSelected ↔ Function
-
read / write
- placeholder ↔ String
-
read / write
- placeholderTS ↔ TextStyle
-
read / write
- resultAlign ↔ Alignment
-
read / write
- resultBD ↔ BoxDecoration
-
read / write
- resultHeight ↔ double
-
read / write
- resultPadding ↔ EdgeInsets
-
read / write
- resultTS ↔ TextStyle
-
read / write
- resultWidth ↔ double
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- selectedBetweenAreaColor ↔ Color
-
read / write
- selectedCircleColor ↔ Color
-
read / write
-
weekLabelList
↔ List<
String> ? -
read / write
- weekLabelMapList ↔ List
-
read / write
-
years
↔ List<
Map> -
read / write
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _CoolDatepickerState -
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
-
isSameBtwDates(
DateTime target1, DateTime target2) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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