ShellDefaults class

Optional host-provided shell paths for mobile embedders.

On Android, Platform.environment and /proc are unreliable in release builds. Call install from main() with path_provider before spawning the first FlutterPtyBackend.

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 Properties

mobileHome String?
App-private directory used as Android HOME / default PTY cwd.
getter/setter pair

Static Methods

install({required String mobileHome}) → void
Registers mobileHome for resolveShellSpec on Android.