DVHomeWidgetSpec class

Constructors

DVHomeWidgetSpec({required String id, required String name, required String route, String? title})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
The identifier the platform knows it by: the widget's name in kebab case, with the word Widget taken off. Stable, because a home widget somebody has placed on their screen is found again by this.
final
label → String
The name to show wherever a platform asks for one.
no setter
name → String
The generated widget class the page builds.
final
route → String
Where the application shows it: /widgets/<id>. A widget that could launch the application and not say where to would be a shortcut to the home screen.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String?
What a person sees it called: the title the annotation was given, and null when it was given none.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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