Skip to content

chore: delete dead chain_asset_icon widget #560

@TaprootFreak

Description

@TaprootFreak

Context

lib/widgets/chain_asset_icon.dart has no consumers in lib/. Verified by grep -rn "ChainAssetIcon" across the production tree — returns only the file itself.

The widget is a pure StatelessWidget with no branches or callbacks, composing two Image.asset calls via getAssetImagePath(asset) and getChainImagePath(asset.chainId). Both lookup helpers live in asset_logo.dart, not here, so even the logic moved away.

This came up during the value-analysis for #545 (widget tests). Better to delete than test dead code.

Scope

Acceptance criteria

  • File deleted in one PR
  • No new imports of ChainAssetIcon introduced (CI search confirms)
  • flutter analyze clean

Estimated effort

~0.1 engineer-day (small cleanup PR).

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions