grock
0.6.0, released 2 years ago by an unverified publisher
Collection of UI widgets, context-free navigation, snackbars, and Dio helper utilities.
What it does
Grock provides a collection of helper tools, UI widgets, animations, extensions for strings, numbers, and lists, alongside no-context navigation and snackbar triggers. It also includes an integrated Dio helper for API requests.
AI-written summary of version 0.6.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want context-free navigation and snackbars/dialogs across your app.
- You need a quick collection of UI widgets, glassmorphism, and animation helpers.
- You want a lightweight Dio wrapper for REST API calls with response handlers.
Skip it when
- You prefer modular, single-responsibility packages over all-in-one utility toolkits.
- You already use dedicated state management or routing solutions that handle these tasks.
Strengths
- No-context navigation, dialogs, and snackbars.
- Extensive extensions for strings, lists, numbers, and widgets.
- Built-in Dio API service helpers.
Weaknesses
- All-in-one approach can pull in unwanted utilities or bloat.
- Limited documentation outside of README examples.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Requires adding navigatorKey and scaffoldMessengerKey to MaterialApp.
Grock.to(NextPage());
Grock.toast(text: "This is a toast");Alternatives
Packages that do the same job and could replace grock.
- toast
Shows brief overlay messages (toasts) on Flutter apps.
46Compare - flutter_sliding_toast
Displays customizable sliding and popup toasts with animations, queueing, and stacking modes.
71Compare - cherry_toast
Display custom elegant toast notifications with built-in animations and themes.
63Compare - snacky
Simple customizable snackbar widget for Flutter
66Compare
Works with
Packages commonly used together with grock: ones it builds on, ones built on it, and its own family.