configurable_expansion_tile_null_safety
3.3.2, released 3 years ago by itbug.shop
A customizable ExpansionTile widget with configurable header, colors, and animations.
What it does
Provides a drop‑in replacement for Flutter's ExpansionTile that lets you supply custom header widgets, control animation curves, and add pre/post header widgets. A controller can be used to programmatically expand or collapse the tile.
AI-written summary of version 3.3.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a highly customized expansion tile beyond the default Flutter widget
- You want to animate or replace parts of the tile header dynamically
Skip it when
- The default ExpansionTile meets your needs and you don't require extra customization
- You need a full‑featured list or accordion component with more features
Strengths
- Fine‑grained control over header and animation
- Null‑safety and supports recent Flutter versions
- Simple API, just add the package
Weaknesses
- Limited to expansion‑tile use‑case, no broader UI components
- Small community and fewer examples
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
import 'package:configurable_expansion_tile/configurable_expansion_tile.dart';
class MyWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
return ConfigurableExpansionTile(
header: Container(child: Center(child: Text('A Header'))),
headerExpanded: Flexible(child: Center(child: Text('A Header Changed'))),
childrenBody: Row(children: [Text('CHILD 1')]),
);
}
}Alternatives
Packages that do the same job and could replace configurable_expansion_tile_null_safety.
- expansion_widget
An edited version of Expansion Tile that allows you customize tile widget and animation.
47Compare - material_new_shapes
Provides Material 3 shape definitions (e.g., RoundedPolygon, Cubic) for Flutter UI.
48Compare - expansion_tile_list
A customizable set of expansion tiles with styling, animations, and expansion control options.
62Compare - expansion_tile_group
Advanced and customizable expansion tile widgets and groups for Flutter.
57Compare