A collection of practical Flutter snippets, each solving one real problem.
- bKash balance animation — a loading shimmer for balance lookups.
- Cached images — avoid re-downloading and flashing the same network image.
- Date logic — expiry checks, Bangla date conversion, current date and time.
- Show more button — expand long text without a full expansion panel.
- Bottom navigation variants and a reusable drawer setup.
- Error handling patterns and an API call example with Provider.
| Concern | Choice |
|---|---|
| UI | Flutter, Material |
| State management | provider |
| Utilities | cached_network_image, intl |
lib/
- `Each trick in its own folder — Error Solving, api Call With Provider & model, app version check, bkash balance animation, cached image, cart Page price count, color pick and icon picker website, current date v& time flutter, date expaire or not logic, date time convert in bangla, discount Till or not, drawer`
- Flutter
>= 3.16(Dart>= 3.2)
git clone https://github.com/developer-rahim/Flutter-Short-Tricks.git
cd Flutter-Short-Tricks
flutter pub get
flutter runflutter test
flutter analyzeThis repository is organised as a cookbook rather than an app — open the folder for the trick you need.
Released under the MIT License.