Skip to content
pubscout

grock

0.6.0, released 2 years ago by an unverified publisher

Collection of UI widgets, context-free navigation, snackbars, and Dio helper utilities.

$ flutter pub add grock
Source repository

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.

Works with

Packages commonly used together with grock: ones it builds on, ones built on it, and its own family.