toggle_list
0.3.1, released 3 years ago by binarybush.dev
An easy-to-use and highly customizable expandable list widget for your Flutter application.
What it does
Provides an expandable list widget and list items for Flutter applications. Allows users to toggle items to show or hide their content.
AI-written summary of version 0.3.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need an expandable accordion or toggle list widget in your UI.
- You want customizable titles and content for collapsible list sections.
Skip it when
- You need complex state management libraries rather than UI widgets.
- You require a package that is widely tested in production environments.
Strengths
- Easy to use with a straightforward declarative API.
- Customizable items and properties like inner padding and dividers.
Weaknesses
- The package is explicitly noted as not yet widely tested.
- Limited feature scope beyond expandable lists.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
ToggleList(
children: [
ToggleListItem(
title: const Text('I am the first item'),
content: const Padding(
padding: EdgeInsets.all(20),
child: Text('Hello there!'),
),
),
],
)Alternatives
Packages that do the same job and could replace toggle_list.
- kalender
A customizable calendar widget with day, multi-day, month, and schedule views.
92Compare - syncfusion_flutter_sliders
UI-rich slider, range slider, and range selector widgets with numeric and date support.
90Compare - enhanced_paginated_view
A customizable Flutter widget for paginated lists, grids, and slivers with pull-to-refresh.
65Compare - expansion_tile_list
A customizable set of expansion tiles with styling, animations, and expansion control options.
62Compare
Works with
Packages commonly used together with toggle_list: ones it builds on, ones built on it, and its own family.