Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeafter_init

Provides a didInitState() method to access InheritedWidgets safely after initState.

pub.devRemove
shadow_widget

A widget that adds a shadow effect to any Flutter widget.

pub.devRemove
ScoresHealth4549 (best)
Maintenance12 (best)
Quality100100
Popularity1636 (best)
Community4141
Compatibility100100
UsageDownloads (30 days)2282.4k (best)
Likes33 (best)19
Pub points160 / 160160 / 160
GitHub stars27 (best)4
MaintenanceLatest release0.2.0, 3 years ago0.1.1, 2 years ago (best)
Major versions in 12 months00
Contributors11
Publishermartinrybak.comsuragch.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies00
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Simple, zero‑dependency mixin
  • Works on all Flutter platforms
  • No code generation or build steps
  • Supports all platforms (Android, iOS, Web, Windows, macOS, Linux).
  • Shadow's opacity is independent of the child widget's opacity.
Weaknesses
  • Limited to a single lifecycle hook
  • Does not replace full state‑management solutions
  • May be redundant if you already use didChangeDependencies
  • Limited to a single specific UI effect.
WarningsNoneNone
after_init vs shadow_widget: which Flutter package should you use? | pubscout