ModeConfigFactory class
Factory for creating common mode configurations. Use these factories to easily create custom mode configurations with sensible defaults for common use cases.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Static Methods
-
customIndoor(
{required int scanIntervalMs, FlutterWifiScanMode wifiScanMode = FlutterWifiScanMode.all, bool bleEnabled = true}) → FlutterModeConfig -
Creates a custom indoor mode with a specific scan interval.
scanIntervalMsThe scan interval in milliseconds (minimum 1000) -
defaultDriving(
) → FlutterModeConfig - Creates a default driving mode configuration.
-
defaultIndoor(
) → FlutterModeConfig - Creates a default indoor mode configuration.
-
defaultOutdoor(
) → FlutterModeConfig - Creates a default outdoor mode configuration.
-
defaultStationary(
) → FlutterModeConfig - Creates a default stationary mode configuration.
-
survey(
{FlutterWifiScanMode wifiScanMode = FlutterWifiScanMode.all, bool bleEnabled = true}) → FlutterModeConfig - Creates a survey mode configuration for data collection.