EnvTriggerMode enum

Determines how the flutter_env_switch debug panel is triggered from EnvSwitcher.

Inheritance
Available extensions

Values

longPress → const EnvTriggerMode

A sustained long-press anywhere within the wrapped widget opens the panel.

This is the default. Familiar to developers but less discoverable.

tapCount → const EnvTriggerMode

Rapid successive taps (default 5) within a time window open the panel.

This is the industry-standard QA-panel gesture. Configure the count and window with EnvSwitcher.tapCount and EnvSwitcher.tapWindowMs.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<EnvTriggerMode>
A constant List of the values in this enum, in order of their declaration.