sp_settings 1.0.2 sp_settings: ^1.0.2 copied to clipboard
A Flutter settings screen package with Shared Preferences integration.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add sp_settings
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
sp_settings: ^1.0.2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:sp_settings/fields/button_settings_field.dart';
import 'package:sp_settings/fields/dropdown_settings_field.dart';
import 'package:sp_settings/fields/settings_field.dart';
import 'package:sp_settings/fields/switch_settings_field.dart';
import 'package:sp_settings/settings_category.dart';
import 'package:sp_settings/settings_form.dart';