CalendarHelper class
create_user: zhengzaihong email:1096877329@qq.com create_date: 2021/12/2 create_time: 16:57 describe: 日历选择帮助类
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
-
getConfig(
) → CalendarConfig -
showDateDialog(
BuildContext context, {DateTime? startDate, DateTime? endDate, bool onClickOutSide = false, dynamic callBack(DateTime startTime, DateTime endTime)?, dynamic closeCallBack()?, double? aspectRatio, bool? allowSameDate = true}) → void - startDate 默认选中日历的开始日期 endDate 默认选中日历的结束日期 onClickOutSide 点击非日历区域是否关闭 Function 选择日期后的回调 aspectRatio 添加宽高比,设置的calendarHeight将失效。