fast_rx_shared_preferences 0.1.4 icon indicating copy to clipboard operation
fast_rx_shared_preferences: ^0.1.4 copied to clipboard

A Shared Preferences implementation of fast_rx_persistence storage for Flutter

A Shared Preferences implementation of fast_rx_persistence storage

pub package codecov checks popularity likes pub points

Usage #

See fast_rx_persistence for detailed usage information.

import 'package:fast_rx/fast_rx.dart';
import 'package:fast_rx_persistence/fast_rx_persistence.dart';
import 'package:fast_rx_shared_preferences/fast_rx_shared_preferences.dart';

void example() async {
  await FastRxSharedPreferences.init();

  // Will read the value of the key from Shared Preferences
  final rx = 0.rx..persist('key');

  // Will write the value to Shared Preferences
  rx.value = 1;
}

Additional information #

See fast_ui for more information

0
likes
140
pub points
53%
popularity

Publisher

verified publisher iconrexios.dev

A Shared Preferences implementation of fast_rx_persistence storage for Flutter

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

fast_rx_persistence, flutter, shared_preferences

More

Packages that depend on fast_rx_shared_preferences