vmobject library

Classes

Commission<T>
This class inherit from Computed and provide a function to set property 'value'
Computed<T>
Auto compute values from some observable by async update function
DateTimeFormatter<T extends DateTime?>
Process format DateTime
MaskTextFormatter
Process format masked text
NumberTextFormatter<T extends num?>
Process format number while typing
Observable<T>
A generic observable for a value
ObservableBase<T>
A base class for observable should has value and can notify to observers
ObserverFormField<T>
An input to enter value for observable string or number or datetime.
ObserverWidget<T>
An observer of observables to update widget by an asynchronous processing after all changed done
StringTextFormatter
Process for a plain string
Subscription
A listener on an observable, it can close listen in later
TextFormatter<T>
Base class used for text with format/parser
Validator
Base class use to implement a validation
ValidatorAll
Check all validators
ValidatorAsync
Check value by a async function, skip check null already
ValidatorContains
Check value exist in a source, checked by use method 'contains'
ValidatorCustom
Check value by a custom function, skip check null already
ValidatorEmail
Check string is valid email
ValidatorLeast
Check all validators but stop at the first one invalid
ValidatorNot
Check by negative a other Validator
ValidatorPattern
Check string match a pattern, pattern can be a String or RegExp
ValidatorRange
Check String.length or List.length or number should in a range min, max
ValidatorRegister
Interface to register a subclass Validator to determine how to create it from a Map data
ValidatorRequired
Check value required, it's invalid for null, empty string, zero
ValidatorTrue
Check value should be 'true'
ValidatorUnique
Check value is not exist in source, checked by use method 'contains'
ViewModel
Base class used to create view model
ViewWidget<T extends ViewModel>
Widget base on view model

Enums

DateTimeFormatterType
Used to handle DateTimeFormatter
ValidateStatus

Mixins

ObservableWritable<T>
Class used to mixin with observable can set value