Skip to content
pubscout

icon_craft

0.1.1, released 2 years ago by vrusso.com.br

Combine two icons into a single widget with custom alignment, scaling, and borders.

WASM-ready
$ flutter pub add icon_craft
Source repository

What it does

IconCraft extends standard iconography by allowing developers to combine a base icon and a secondary icon into a single widget. It provides customizable borders, precise alignment positioning, and scaling options.

AI-written summary of version 0.1.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to overlay a badge or auxiliary icon on top of a base icon.
  • You want to add customized borders and strokes around your icon graphics.

Skip it when

  • You only need to display a single standard icon without overlays or borders.
  • You require complex animations or interactive states inside the icon.

Strengths

  • Combines two icons into a single widget seamlessly.
  • Provides borders with configurable colors, widths, and styles.
  • Flexible alignment options for positioning the secondary icon.

Weaknesses

  • Limited to combining two icons and applying simple border decorations.
  • Not documented for platforms beyond basic Flutter rendering.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
IconCraft(
  Icon(Icons.email),
  Icon(Icons.notifications),
  alignment: Alignment.topRight,
  decoration: IconDecoration(
    border: IconBorder(color: Colors.white),
  ),
)

Alternatives

Packages that do the same job and could replace icon_craft.