ThemeAsset class

Constructors

ThemeAsset({required String assetName, String assetsPath = "lib/assets/", String assetExt = "png", String lightSuffix = "_light", String darkSuffix = "_dark", double? scale, double? width, double? height, Color? color})

Properties

assetExt → String
final
assetName → String
final
assetsPath → String
final
color → Color?
final
darkSuffix → String
final
hashCode → int
The hash code for this object.
no setterinherited
height → double?
final
lightSuffix → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scale → double?
final
width → double?
final

Methods

getAssetFullPath(String suffix) → String
getImage(BuildContext context) → Image
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