Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeconditional_parent_widget

Conditionally wrap a widget with a parent widget.

pub.devRemove
conditional_wrap

A Flutter widget that conditionally wraps a child subtree with a parent widget.

pub.devRemove
ScoresHealth41 (best)39
Maintenance00
Quality100100
Popularity26 (best)15
Community66
Compatibility100100
UsageDownloads (30 days)1.6k (best)716
Likes9 (best)8
Pub points160 / 160160 / 160
GitHub stars5 (best)3
MaintenanceLatest release0.0.2, 4 years ago (best)3.0.0, 4 years ago
Major versions in 12 months00
Contributors11
PublisherUnverifiedUnverified
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies00
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Keeps widget tree code clean and readable.
  • Supports an optional parentBuilderElse for handling the false condition.
  • Simplifies conditional UI wrapping logic
  • Lightweight with no external dependencies other than Flutter
Weaknesses
  • The package is stable but not actively maintained.
  • Does very little that cannot be achieved with standard Dart if-else expressions
  • API has breaking changes across major versions
WarningsNoneNone
conditional_parent_widget vs conditional_wrap: which Flutter package should you use? | pubscout