DeviceApplication class

Constructors

DeviceApplication.new({required String appName, EntryWidgetBuilder? appEntry, void onTap()?, TextStyle? appNameStyle, String? iconImage, Widget? iconImageWidget, bool isBigWidget = false})

Properties

appEntry EntryWidgetBuilder?
appEntry is a widget that holds the entry point of the application or the first widget to open on launch. Function(BuildContext, ScrollController, double
final
appName String
appName is a string that holds the name of the application.
getter/setter pair
appNameStyle TextStyle?
appNameStyle is a TextStyle that holds the style of the application name. Default is TextStyle(fontSize: 15, color: Colors.white, fontWeight: FontWeight.w500).
final
hashCode int
The hash code for this object.
no setterinherited
iconImage String?
iconImage is a string that holds the path to the icon of the application. supports "assets/images/icon.png" format or "http".
final
iconImageWidget Widget?
iconImageWidget is a widget that holds the custom icon of the application.
final
isBigWidget bool
isBigWidget is a boolean that holds the state of the widget. If true, the widget is big, else it is small.
final
onTap → void Function()?
onTap is a function that is called when the application is tapped.
final
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