Skip to content

helpisdev/utilities

Repository files navigation

Utilities

About The Project


The aim of this project is to provide a range of useful Dart and Flutter utilities ranging from extensions to widgets. It has utilities from basic functions to widgets to routing. An example is provided that uses most of the provided functionality.

Built With:

Dart Flutter

Getting Started


This package isn't on pub.dev, so to be used it has be added as a local path package.

Prerequisites

To install and build the project you have to have already installed git, and flutter. You can find instructions on how to install those on their respected websites:

Installation

  1. Add the repo as a submodule to your project

    mkdir -p packages/utilities
    git submodule add https://github.com/helpis-software/utilities.git packages/utilities
  2. Clone the repo

    git submodule update --remote --init --recursive --progress
  3. Change directory to utilities

    cd packages/utilities
  4. Install Flutter packages

    flutter pub get
    cd ../..
  5. Add the package to your local pubspec.yaml

    # ...
    dependencies:
      utilities:
        path: packages/utilities
  6. Update your dependencies

    flutter pub get
  7. Include it to your project

    // Suggested to be used with a prefix to avoid potential name conflicts
    // Even better, use `show` to import only the members you will be using
    import 'package:utilities/utilities.dart' as util;

Examples

An extensive example with a demo application can be found at utilities_example.

Styleguide


We try to be consistent in code style throughout our codebase and follow certain guidelines. Most of them should comply with popular standards, but some might diverge due to personal preferences and conventions. Please read more about our code style if you are considering to contribute to our products. You find general recommendations at STYLEGUIDE.md, and language-specific guidelines at the respective styleguides for each language used.

About

A collection of useful Dart and Flutter utilities.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages