DatePickerController class

Constructors

DatePickerController(String title, List<bool Function(String)> validationFunc, String errorMessage, VoidCallback _updateFunc, {String text = '', TextEditingController? textEditingController})

Properties

errorMessage String
final
formatter → DateFormat
final
hashCode int
The hash code for this object.
no setterinherited
isValid bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedDate DateTime?
getter/setter pair
text String
getter/setter pair
textEditingController TextEditingController?
getter/setter pair
title String
getter/setter pair
validationFunc List<bool Function(String)>
final

Methods

changeDate(DateTime dateTime) → dynamic
checkValid() bool
copyWith({String? title, List<bool Function(String)>? validationFunc, String? errorMessage, bool? obscureText, String? text}) DatePickerController
dispose() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

emptyController() DatePickerController