housecode library

Classes

CheckboxCell
view cell with checkbox
CheckboxCellState
CircularIndicator
circular indicator based on platform style
CupertinoCheckBox
checkbox widget with cupertino style
CupertinoCheckBoxState
DateTimeCell
DateTimePickerCell
Loading
Loading class to show/hide loading dalog
Notifier<T>
notifier class property
PickerViewCell
picker view cell for Listview itemBuilder
SelectableViewCell
view cell with selected icon
Separator
separator for Listview.separated
StackViewCell
view cell for stack items
SwitchCell
TextCell
view cell for text only
Utils
class utility for value checking
ViewCell
view cell for Listview itemBuilder

Extensions

DynamicExtension on dynamic
StringExtension on String

Functions

showActionSheet(BuildContext context, List<String> items, {PickerItemSelected? itemSelected, bool useLight = true, Color textColor = Colors.black, String? title, String? message}) → void
showConfirm(BuildContext context, String message, Function onAccept, {Function? onCancel}) → void
show confirm dialog
showConfirmation<T>(BuildContext context, String message, Function onAccept, {Function? onCancel, bool useLight = true}) Future<T?>
show confirm dialog with result
showDatePicker(BuildContext context, {bool useLight = true, Color textColor = Colors.black, DateTimePickerSelected? onDone, DateTime? initialDate, String? title}) → void
show date picket dialog with cupertino style
showMessage(BuildContext context, String message, {bool useLight = true, void onOk()?}) → void
show message dialog
showPicker(BuildContext context, List<String> items, {PickerItemSelected? itemSelected, PickerItemSelected? onDone, bool useLight = true, Color textColor = Colors.black, int? startIndex, String? title}) → void
show picker dialog with List of string items
showTimePicker(BuildContext context, {bool useLight = true, Color textColor = Colors.black, DateTimePickerSelected? onDone, DateTime? initialTime, String? title}) → void
show time picket dialog with cupertino style

Typedefs

DateTimePickerSelected = void Function(DateTime)
DateTimeSelected = void Function(DateTime dateTime)
PickerItemSelected = void Function(int index)
SwitchValueChanged = void Function(bool isEnable)