fast_rx_shared_preferences 0.1.5 copy "fast_rx_shared_preferences: ^0.1.5" to clipboard
fast_rx_shared_preferences: ^0.1.5 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
160
pub points
45%
popularity

Publisher

verified publisherrexios.dev

A Shared Preferences implementation of fast_rx_persistence storage for Flutter

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

fast_rx_persistence, flutter, shared_preferences

More

Packages that depend on fast_rx_shared_preferences