Comments (1)
Please refer to the official iOS documentation for this as this is all native code
https://developer.apple.com/documentation/widgetkit/making-a-configurable-widget
In order to write these values back you can use the same storage method as the widget itself. So on the iOS side of things you use:
let preferences = UserDefaults.init(suiteName: SwiftHomeWidgetPlugin.groupId)
preferences?.setValue(data, forKey: "HomeWidgetConfiguration")
and then on the flutter side
final data = await HomeWidget.getWidgetData('HomeWidgetConfiguration');
from home_widget.
Related Issues (20)
- Your project requires a newer version of the Kotlin Gradle plugin HOT 1
- Lockscreen Widget onTap does not call HomeWidget.widgetClicked.listen(_launchedFromWidget) HOT 8
- Widget won't update after exit the app HOT 1
- [iOS] I'd like to get the widgetURL from each button in .systemMedium. HOT 4
- InteractivityCallback called only after restart on iOS HOT 1
- [Feature] Add a way to detect if the user has added the Home Widget to the OS screen. HOT 1
- Can support macos widget?
- Not able to navigate to another screen in a flutter on tap of the home widget.
- spoiling 48 hours configuring the **** gradle versions. desperated. HOT 2
- Refactoring iOS platform implementation
- HomeWidgetBackgroundReceiver can't receive
- In debug widget are showing in the widgets list but when build for the release they are not available
- Push latest changes HOT 1
- How to invoke Dart method whenever user adds a widget to their home screen for the first time. HOT 2
- Configurable Widget HOT 2
- R8 error while building
- 🐞 [Bug] Exception Invalid image dimensions. HOT 1
- There is a problem that the calendar schedule that I read with device_calendar is not displayed, so I'm asking for help. HOT 1
- Interactive widget first click on the widget without refreshing HOT 2
- [Missing Plugin exception] Interactive widget buttons are not able to initialise the plugins and packages on iOS when the app is killed/background. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home_widget.