Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 845 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 845 Bytes

shared_preferences

This Go package implements the host-side of the Flutter shared_preferences plugin.

Usage

Import as:

import "github.com/go-flutter-desktop/plugins/shared_preferences"

Then add the following option to your go-flutter application options:

flutter.AddPlugin(&shared_preferences.SharedPreferencesPlugin{
	VendorName:      "myOrganizationOrUsername",
	ApplicationName: "myApplicationName",
})

Change the values of the Vendor and Application names to a custom and unique string, so it doesn't conflict with other organizations.

Issues

Please report issues at the go-flutter issue tracker.