VariablesPlugin class
A plugin for the Devbar to manage variables.
- Implemented types
Properties
-
currentVariables
→ List<
DevbarVariable> -
no setter
- devbar → DevbarState
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
overrides
→ Map<
String, dynamic> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- store → VariablesStore
-
final
-
variables
→ Stream<
List< DevbarVariable> > -
no setter
Methods
-
checkbox(
String key, {String? description, bool defaultValue = false}) → DevbarVariable< bool> -
dispose(
) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
picker<
T> (String key, {String? description, required T defaultValue, required Map< T, String> options, T? fromJson(Object)?}) → DevbarVariable<T> -
remove(
DevbarVariable variable) → void -
text(
String key, {String? description, String defaultValue = ''}) → DevbarVariable< String> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
init(
{Map< String, dynamic> ? values, VariablesStore? store, Future<VariablesStore> storeFactory()?, FutureOr<String> filePath()?, String? title}) → Future<VariablesPlugin> Function(DevbarState)