local_hero_transform
1.0.6, released a year ago by an unverified publisher
Simplifies hero transitions between grid and list views in Flutter.
What it does
Provides seamless hero animations and transitions between grid and list layouts. It supports customizable card content, styling, loading shimmer effects, and dark/light themes.
AI-written summary of version 1.0.6, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need smooth transitions between grid and list views for items.
- You want built-in support for themes, responsive design, and loading shimmer effects on cards.
Skip it when
- You only need standard page routing without grid-to-list item view transformations.
- You require a complex layout engine that doesn't fit standard grid-list structures.
Strengths
- Easy transitions between grid and list views
- Customizable cards with dark/light theme support and loading states
- Cross-platform support including web, mobile, and desktop
Weaknesses
- Limited to list and grid view transition use cases
- Relies on specific model structures for items
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
LocalHeroViews(
tabController: tabController,
textDirection: TextDirection.ltr,
itemCount: itemsMode.length,
itemsModel: (index) => ItemsModel(
name: Text(itemsMode[index].name),
title: Text(itemsMode[index].title),
subTitle: Text(itemsMode[index].subTitle),
favoriteIconButton: IconButton(onPressed: () {}, icon: Icon(Icons.add)),
image: DecorationImage(image: NetworkImage(itemsMode[index].imageUri)),
),
);Alternatives
Packages that do the same job and could replace local_hero_transform.
- heroine
Spring-based physics hero transitions and gesture-driven animations in Flutter.
91Compare - show_up_animation
Widget that animates a child into view with optional delay and direction
56Compare - animated_size_and_fade
Fade and size transition between widgets or show/hide a widget.
88Compare - animated_reorderable_list
Flutter reorderable list and grid with drag-and-drop and insertion/removal animations.
63Compare
Works with
Packages commonly used together with local_hero_transform: ones it builds on, ones built on it, and its own family.