OptionsPage class

One page of a select's options, fetched rather than inlined.

/schema publishes config.optionsUrl instead of config.options when the options are not knowable at publish time — a searchable relationship select, which Filament deliberately declines to enumerate — or when the list outgrew the wire. This is what comes back from that endpoint.

Constructors

OptionsPage({required List<SelectOption> options, required bool hasMore})
const
OptionsPage.empty()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
hasMore bool
The server hit its own ceiling, so there may be more behind a narrower query. A client says "keep typing" rather than implying the list ended — implying a truncated list is complete is how a user concludes their record does not exist.
final
options List<SelectOption>
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

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