Skip to main content

flocon_shared_preferences 2.0.0 copy "flocon_shared_preferences: ^2.0.0" to clipboard
flocon_shared_preferences: ^2.0.0 copied to clipboard

Shows and edits your SharedPreferences in the Flocon desktop debugger.

example/main.dart

import 'package:flocon/flocon.dart';
import 'package:flocon_shared_preferences/flocon_shared_preferences.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'package:shared_preferences/shared_preferences.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  if (kDebugMode) {
    final prefs = await SharedPreferences.getInstance();
    await startFlocon((flocon) => flocon..install(FloconSharedPreferences(prefs)));
  }
}
0
likes
160
points
166
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Shows and edits your SharedPreferences in the Flocon desktop debugger.

Repository (GitHub)
View/report issues

Topics

#debugging #devtools #shared-preferences #flocon

License

MIT (license)

Dependencies

flocon, flutter, shared_preferences

More

Packages that depend on flocon_shared_preferences