DateRangePicker class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- DateRangePicker
Constructors
-
DateRangePicker({Key? key, DateTime? startDate, DateTime? endDate, DateTime? minDate, DateTime? maxDate, ValueChanged<
DateTime?> ? onStartDateChanged, ValueChanged<DateTime?> ? onEndDateChanged, ValueChanged<DateTimeRange< ? onDateRangeChanged, Color? selectedDateColor, Color? selectedDateTextColor, Color? highlightColor, Color? highlightTextColor, Color? unselectedDateColor, Color? unselectedDateTextColor, TextStyle? weekDayTextStyle, VoidCallback? onOutlinePressed, VoidCallback? onFilledPressed, Color? filledColor, Color? outlinedColor, Color? filledButtonBorderColor, Color? outlinedButtonBorderColor, Color? filledButtonBackgroundColor, Color? outlinedButtonBackgroundColor, double? filledButtonWidth, double? outlinedButtonWidth, double? filledButtonHeight, double? outlinedButtonHeight, double? filledButtonBorderRadius, double? outlinedButtonBorderRadius, Widget? filledButtonChild, Widget? outlinedButtonChild, TextStyle? buttonTextStyle, String? outlinedButtonText, String? filledButtonText, String? dropDownHintText, String? dropDownValue, List<DateTime> ?>String> ? dropDownItems, ValueChanged<String?> ? dropDownOnChanged, Widget? dropDownGap, Color? dropDownBorderColor, Color? dropDownBackgroundColor, double? dropDownBorderWidth, double? dropDownBorderRadius, double? dropDownWidth, double? dropDownHeight, double? dropDownListWidth, double? dropDownListHeight, EdgeInsets? dropDownPadding, EdgeInsets? dropDownMargin, TextStyle? dropDownTextStyle}) -
const
Properties
-
final
- dropDownBackgroundColor → Color?
-
final
- dropDownBorderColor → Color?
-
final
- dropDownBorderRadius → double?
-
final
- dropDownBorderWidth → double?
-
final
- dropDownGap → Widget?
-
final
- dropDownHeight → double?
-
final
- dropDownHintText → String?
-
Dropdown Requirements
final
-
dropDownItems
→ List<
String> ? -
final
- dropDownListHeight → double?
-
final
- dropDownListWidth → double?
-
final
- dropDownMargin → EdgeInsets?
-
final
-
dropDownOnChanged
→ ValueChanged<
String?> ? -
final
- dropDownPadding → EdgeInsets?
-
final
- dropDownTextStyle → TextStyle?
-
final
- dropDownValue → String?
-
final
- dropDownWidth → double?
-
final
- endDate → DateTime?
-
final
- filledButtonBackgroundColor → Color?
-
final
- filledButtonBorderColor → Color?
-
final
- filledButtonBorderRadius → double?
-
final
- filledButtonChild → Widget?
-
final
- filledButtonHeight → double?
-
final
- filledButtonText → String?
-
final
- filledButtonWidth → double?
-
final
- filledColor → Color?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- highlightColor → Color?
-
final
- highlightTextColor → Color?
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- maxDate → DateTime?
-
final
- minDate → DateTime?
-
final
-
onDateRangeChanged
→ ValueChanged<
DateTimeRange< ?DateTime> ?> -
final
-
onEndDateChanged
→ ValueChanged<
DateTime?> ? -
final
- onFilledPressed → VoidCallback?
-
final
- onOutlinePressed → VoidCallback?
-
Action Button Requirements
final
-
onStartDateChanged
→ ValueChanged<
DateTime?> ? -
final
- outlinedButtonBackgroundColor → Color?
-
final
- outlinedButtonBorderColor → Color?
-
final
- outlinedButtonBorderRadius → double?
-
final
- outlinedButtonChild → Widget?
-
final
- outlinedButtonHeight → double?
-
final
- outlinedButtonText → String?
-
final
- outlinedButtonWidth → double?
-
final
- outlinedColor → Color?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedDateColor → Color?
-
final
- selectedDateTextColor → Color?
-
final
- startDate → DateTime?
-
final
- unselectedDateColor → Color?
-
final
- unselectedDateTextColor → Color?
-
final
- weekDayTextStyle → TextStyle?
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< DateRangePicker> -
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, int wrapWidth = 65}) → 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