ThemeAsset constructor

ThemeAsset({
  1. required String assetName,
  2. String assetsPath = "lib/assets/",
  3. String assetExt = "png",
  4. String lightSuffix = "_light",
  5. String darkSuffix = "_dark",
  6. double? scale,
  7. double? width,
  8. double? height,
  9. Color? color,
})

Implementation

ThemeAsset({
  required this.assetName,
  this.assetsPath = "lib/assets/",
  this.assetExt = "png",
  this.lightSuffix = "_light",
  this.darkSuffix = "_dark",
  this.scale,
  this.width,
  this.height,
  this.color,
});