PlexFormField class

Constructors

PlexFormField.dateTime({required String title, required dynamic onChange(dynamic value)})
PlexFormField.dropDown({required String title, required dynamic onChange(dynamic value), bool editable = true, String itemAsString(dynamic item)?, List? items, Future<List>? itemsAsync, bool onSearch(String, dynamic)?, Widget dropdownWidget(dynamic)?, Widget dropdownLeadingWidget(dynamic)?, dynamic initialValue})
PlexFormField.input({required String title, required Type type, required dynamic onChange(dynamic value), bool editable = true, TextInputType? inputType, TextInputAction? inputAction, bool isPassword = false, dynamic initialValue})
PlexFormField.multiselect({required String title, required dynamic onChange(dynamic value), String itemAsString(dynamic item)?, bool editable = true, List? initialSelection, List? items, Future<List>? itemsAsync, Widget dropdownWidget(dynamic)?, Widget dropdownLeadingWidget(dynamic)?})

Properties

getter/setter pair
getter/setter pair
editable bool
getter/setter pair
fieldType int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
initialSelection List?
getter/setter pair
initialValue ↔ dynamic
getter/setter pair
inputAction TextInputAction?
getter/setter pair
inputType TextInputType?
getter/setter pair
isPassword bool
getter/setter pair
itemAsString String Function(dynamic item)?
getter/setter pair
items List?
getter/setter pair
itemsAsync Future<List>?
getter/setter pair
onChange ↔ dynamic Function(dynamic value)
getter/setter pair
onSearch bool Function(String, dynamic)?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
getter/setter pair
type Type
getter/setter pair

Methods

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

Constants

TYPE_DATE → const int
TYPE_DATETIME → const int
TYPE_DROPDOWN → const int
TYPE_INPUT → const int
TYPE_MULTISELECT → const int
TYPE_TIME → const int