ZugUtils class

Constructors

ZugUtils.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

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

checkRow(ZugClient client, String caption, String prop, bool defaultValue, Function onChange, {Function? onTrue, Function? onFalse}) Row
getActualScreenHeight(BuildContext context) double
getAssetImage(String path) AssetImage
getIniConfig(String assetPath) Future<Config>
getIniDefaults(String assetPath) Future<Map<String, String>>
getIP() Future<String?>
getOccupantName(dynamic occupant, {dynamic short = false}) String
getPrefs() Future<SharedPreferences?>
getScreenDimensions(BuildContext context) ScreenDim
getUserName(dynamic user, {dynamic short = false}) String
launch(String url, {bool isNewTab = true}) Future<void>
roundNumber(double value, int places) double
scrollDown(ScrollController scrollController, int millis, {int delay = 0}) → dynamic