Skip to content

Commit 22d809d

Browse files
author
Mateus Felipe
committed
Documentation update
1 parent c16eeba commit 22d809d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Hydrated
22

3+
[![Version](https://img.shields.io/pub/v/hydrated)](https://pub.dev/packages/hydrated)
4+
[![Build](https://img.shields.io/github/workflow/status/lukepighetti/hydrated/Flutter)](https://github.com/lukepighetti/hydrated/actions?query=Flutter)
5+
[![License](https://img.shields.io/github/license/lukepighetti/hydrated)](https://opensource.org/licenses/MIT)
6+
37
Hydrated provides a BehaviorSubject that automatically persists to Flutter's local storage and hydrates on creation!
48

59
## Easy to consume

lib/hydrated.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import 'dart:async';
44
import 'package:shared_preferences/shared_preferences.dart';
55
import 'package:rxdart/rxdart.dart';
66

7-
/// A [BehaviorSubject] that automatically persists its values and hydrates on creation.
7+
/// A [Subject] that automatically persists its values and hydrates on creation.
88
///
99
/// HydratedSubject supports serialized classes and [shared_preferences] types such as: `int`, `double`, `bool`, `String`, and `List<String>`
1010
///

0 commit comments

Comments
 (0)