flexi_chip
1.0.8, released 4 years ago by widgetarian.com
Chip widget with event‑driven style and smooth animation
What it does
Provides a customizable Chip that changes its appearance based on events. The style changes are animated for a polished look.
AI-written summary of version 1.0.8, based on the package's README and metadata. Report an inaccuracy
Use it when
- Need an animated, event‑driven chip for tags or selections
- Want to customize chip appearance per state without writing boilerplate
Skip it when
- You only need a static chip or a simple selectable widget
- Your project already uses a different chip implementation that covers your use case
Strengths
- Smooth, animated style transitions
- Event‑driven style changes per state
- Easy to integrate into existing UI
Weaknesses
- Only supports chip widgets
- Limited documentation beyond README
- No support for complex interactions beyond style changes
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
```dart
import 'package:flexi_chip/flexi_chip.dart';
FlexiChip(
label: 'Example',
onPressed: () {},
style: FlexiChipStyle(
when: {
FlexiChipEvent.hover: FlexiChipStyleData(backgroundColor: Colors.blue),
FlexiChipEvent.selected: FlexiChipStyleData(backgroundColor: Colors.green),
},
),
)
```Alternatives
Packages that do the same job and could replace flexi_chip.
- ticketcher
Create ticket-style cards, boarding passes, and coupons with custom notches, borders, and dividers.
77Compare - flip_card_swiper
Swipeable card stack widget with flip animations and optional haptics.
76Compare - dart_tui
Elm-style terminal UI framework for Dart with Model–Update–View architecture.
75Compare - flutter_3d_carousel
A 3D carousel widget with roll, pitch, and yaw animations for Flutter.
74Compare
Works with
Packages commonly used together with flexi_chip: ones it builds on, ones built on it, and its own family.