assetNavigation static method

Image assetNavigation(
  1. String name, {
  2. Color? color,
})

Implementation

static Image assetNavigation(String name, {Color? color}) {
  String asset = _assetsNamesMap[name] ?? "";
  return Image.asset(
    asset,
    height: 24,
    width: 24,
    fit: BoxFit.fitHeight,
    color: color,
  );
}