Skip to content

Latest commit

 

History

History

shared_preferences

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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.