hasan_utils

A set of commonly used utilities for Flutter development.

Getting Started

Add the following to your dependencies in pubspec.yaml

hasan_utils: <last_version>

Utilities

  • Api: A simple Dio wrapper for API calls
  • Validate: Simple data validator
  • Navigation: A Navigator wrapper
  • FileUtils: File utilities e.g. delete()
  • Alert: Alert dialogs (simple and confirmation)
  • Storage: A Shared Preferences wrapper
  • Persistence: A data persistance tool for settings and more.
  • FileDownloader: A cancellable file downloader with progress.

TODO

  • Add examples
  • Add more tests
  • Support Storage version migration

PRs are always welcome and appreciated!

Libraries

hasan_utils