This Go package implements the host-side of the Flutter shared_preferences plugin.
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.
Please report issues at the go-flutter issue tracker.