add multi_trigger_autocomplete_plus

This commit is contained in:
DenserMeerkat
2025-02-15 20:54:01 +05:30
parent 21c65615e9
commit 2eedd1b41a
35 changed files with 3106 additions and 69 deletions

View File

@@ -0,0 +1,27 @@
import 'package:flutter/material.dart';
class AutocompleteQuery {
/// Creates a [AutocompleteQuery] with the specified [query] and
/// [selection].
const AutocompleteQuery({
required this.query,
required this.selection,
});
/// The query string.
final String query;
/// The selection in the text field.
final TextSelection selection;
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is AutocompleteQuery &&
runtimeType == other.runtimeType &&
query == other.query &&
selection == other.selection;
@override
int get hashCode => query.hashCode ^ selection.hashCode;
}