data_entry library

Classes

CustomItem
输入表单项组件
EditItem
可编辑输入框组件,包含标题、提示信息、输入框及清除按钮
EventPickerBean
InputArea
文本输入区域组件
MultiLevelPickerModel
TapItem
点击表单项组件
TimeItem
时间选择项组件
VVCheckBox
自定义复选框组件

Enums

CalendarSelectRangeType
日历选中区域的类型
DatePickerType
EventPickerType
MultiPickerType
SinglePickerType
VVCheckBoxType
复选框类型:方形或圆形

Functions

showEventPicker(BuildContext context, {CancelCallBack? onCancel, required List<EventPickerBean> eventBeanList, required EventPickerType type}) → dynamic
showInputBottomSheet(BuildContext context, {required String title, String contentText = "", String hintText = "", int maxLength = 50, required InputDoneCallBack callback}) → dynamic
显示底部输入弹窗
showMultiLevelScrollPicker(BuildContext context, {required String title, Widget? tipsWidget, required List<MultiLevelPickerModel> data, required dynamic onDone(String firstLevelKey, String? secondLevelKey)}) → dynamic
showMultiPicker(BuildContext context, {String title = "", required MultiDoneCallBack onDone, required Map<String, dynamic> itemData, required MultiPickerType type, CancelCallBack? onCancel, bool isDismissible = true, List<String>? selectedKeys}) → dynamic
showScrollPicker(BuildContext context, {String title = "", required SingleDoneCallBack onDone, required Map<dynamic, String> itemData, required String selectedKey}) → dynamic
showSinglePicker(BuildContext context, {String title = "", required SingleDoneCallBack onDone, required Map<dynamic, String> itemData, SinglePickerType type = SinglePickerType.bottomCancel, String selectedKey = "", CancelCallBack? onCancel}) → dynamic
showVVDatePicker(BuildContext context, {required DatePickerType type, required Function onDone, DateTime? startTime, DateTime? endTime, DateTime? maxTime, DateTime? minTime, DateTime? initTime, CalendarSelectRangeType? rangeSelectType, bool showTopTitle = true, bool hasToDate = false, bool isToDate = false, String? title}) Future

Typedefs

CancelCallBack = void Function()
InputDoneCallBack = void Function(String contentText)
MultiDoneCallBack = void Function(List<String> selectedKeys, String selectedValuesName)
SingleDoneCallBack = void Function(String selectedKey, dynamic selectedValue)