QueryMatch class

A match that is returned to KRunner in response to a user's query.

Constructors

QueryMatch({required String id, required String title, required String icon, required QueryMatchRating rating, required double relevance, QueryMatchProperties? properties})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
icon String
The name of an icon to show with the match.
final
id String
A unique ID for this match, for this runner's own internal use.
final
properties QueryMatchProperties?
Optional sub-properties relating to this QueryMatch.
final
rating QueryMatchRating
How closely this match fits the user's query.
final
relevance double
A secondary match relevance scale from 0.0 to 1.0.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
The main text displayed to the user for this match.
final

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