Helpers class

Constructors

Helpers.new()

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

loadGlobalEnv() Future<Map<String, String>>
Import env data.
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

checkFlutterAvailability() Future<bool>
Check if Flutter is available in the system
debugPrint(String message) → void
For debug print only.
executeCommand(String command, {Map<String, String>? env, String? exitCondition}) Future<ProcessResult>
Execute Pipeline stages commands with improved robustness.
executePipeline() Future<void>
Execute Pipeline
Generate a QR code and displays & save it. Optionally, print a download link.
getFlutterPath() String
getQrCorrectionLevel(dynamic qrCorrectionLevel) int
Get the QR error correction level
getStatusEmoji(bool isSuccessful) String
highlight(String text) String
isUploadOptionAvailable(KenumUploadOptions option) bool
Check Upload options availability
notifySlack({String? customSlackMsg, bool? shareLink, bool? shareQr}) → dynamic
printQrCode(QrImage qr) → void
Print the QR code to the console
showHighlight({required String firstMessage, String? highLightmessage, String? lastMessage}) → void
Print a highlighted message in the console.
showLoading(String message, {bool useEarth = true}) → void
Show Loading Spinner (Defaults to Earth 🌍)
showUserConfig() → void
stopLoading() → void
Stop the Loading Spinner

Constants

earthFrames → const List<String>
spinnerFrames → const List<String>