PlatformDelegate class abstract

Platform-specific collation delegate.

Each platform (Android, iOS, macOS, Linux, Windows, Web) provides its own implementation. Instance lifecycle: init is called once with SortOptions, then sort can be called repeatedly.

Implementers

Constructors

PlatformDelegate()

Properties

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

Methods

init(SortOptions options) → Future<void>
Initializes the delegate with platform-specific options.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sort(List<SortItem> items, {SortDirection? direction, Locale? locale}) → FutureOr<List<SortItem>>
Sorts items by collation order.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited