PlutoColumnType class abstract

Implementers
Available Extensions

Constructors

PlutoColumnType.currency({dynamic defaultValue = 0, bool negative = true, String? format, bool applyFormatOnInit = true, bool allowFirstDot = false, String? locale, String? name, String? symbol, int? decimalDigits})
Set to currency column.
factory
PlutoColumnType.date({dynamic defaultValue = '', DateTime? startDate, DateTime? endDate, String format = 'yyyy-MM-dd', String headerFormat = 'yyyy-MM', bool applyFormatOnInit = true, IconData? popupIcon = Icons.date_range})
Set as a date column.
factory
PlutoColumnType.number({dynamic defaultValue = 0, bool negative = true, String format = '#,###', bool applyFormatOnInit = true, bool allowFirstDot = false, String? locale})
Set to numeric column.
factory
PlutoColumnType.select(List items, {dynamic defaultValue = '', bool enableColumnFilter = false, IconData? popupIcon = Icons.arrow_drop_down})
Provides a selection list and sets it as a selection column.
factory
PlutoColumnType.text({dynamic defaultValue = ''})
Set as a string column.
factory
PlutoColumnType.time({dynamic defaultValue = '00:00', IconData? popupIcon = Icons.access_time})
A column for the time type.
factory

Properties

defaultValue → dynamic
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compare(dynamic a, dynamic b) int
isValid(dynamic value) bool
makeCompareValue(dynamic v) → 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