Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vlastachu authored Dec 20, 2023
1 parent 2979c01 commit ef705df
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ AutoClose — is a package designed to reduce the entire boilerplate from things
- [What exactly does this package do?](#what-exactly-does-this-package-do)
- [Why this is actually cool](#why-this-is-actually-cool)
* [꙳ Reducing boilerplaite](#-reducing-boilerplaite)
- [Known alternatives](#known-alternatives)
- [Installation](#installation)
* [AutoClose Lints installation](#autoclose-lints-installation)
- [Usage](#usage)
Expand Down Expand Up @@ -62,6 +63,14 @@ The problem with boilerplate code goes beyond simply reducing code volume. It ma

AutoClose consolidates the subscription flow into one place, making it simpler to read and manage. It also provides the `// ignore:` comment as a signal to handle exceptional cases with care.

## Known alternatives

[flutter_hooks](https://pub.dev/packages/flutter_hooks) is able to cover the same cases as AutoClose.

The difference is that the flutter_hooks forces you to write widget in own style. While AutoClose applicable for an existing application written in traditional way.

Additional difference is that the AutoClose can handle Bloc (and possibly other state managers) lifecycle, when hooks is designed only for widgets.

## Installation

To get started with AutoClose, install the package using the following commands:
Expand Down

0 comments on commit ef705df

Please sign in to comment.