StringColumnHandler class
- Inheritance
-
- Object
- AggregateColumnHandler<
String> - ColumnHandler<
String> - StringColumnHandler
Constructors
-
StringColumnHandler.new({required String? value, required GeneratedColumn<
String> column, String? title, Future<void> onSetNull(GeneratedDatabase database)?, FormFieldValidator<String> ? validator}) - Create an instance.
Properties
-
column
→ GeneratedColumn<
String> -
The column this handler references.
finalinherited
- defaultValue → Object?
-
The default value to use.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isNullable → bool
-
Whether value is nullable.
finalinherited
-
onSetNull
→ Future<
void> Function(GeneratedDatabase database)? -
The function to call before value gets set to
null
.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
The title which will be used to show value.
finalinherited
-
validator
→ FormFieldValidator<
String> ? -
The validator to use with getWidget.
final
- value ↔ String?
-
The current value to use.
getter/setter pairinherited
Methods
-
getColumns(
String? newValue) → Map< GeneratedColumn< Object> , Object?> -
Get columns for inserting
newValue
.inherited -
getWidget(
{required BuildContext context, required bool autofocus, required OnChanged< String?> onChanged}) → Widget -
Get a suitable widget to display value.
override
-
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