Questions tagged [widget]
A widget is an element of a user interface (GUI widget) or a self-contained (usually small) software application (desktop widget). In computing , an application, or a component of an interface, that enables a user to perform a function or access a service.
12,214
questions
0
votes
1
answer
20
views
Fix error when make SwiftData model conform to AppEntity Protocol
I tried to make a SwiftData model conform to AppEntity protocol to use it as a parameter in AppIntent, I got the example code from App Intent driven development in Swift and SwiftUI , but I got an ...
0
votes
1
answer
28
views
Title: TypeError in Flutter Test: Null is not a subtype of Future<String>
I'm writing a Flutter test where I'm trying to mock a method that calculates the BMI. Despite using when(...).thenReturn(...) to return a future value, I'm encountering the following error:
══╡ ...
0
votes
2
answers
31
views
Django - dropdown (select widget) in form is not saving data to db
I'm using this form to get a dropdown menu in my html form :
forms.py
class forms_bdc(forms.ModelForm):
[...]
bdc_description_1 = forms.ModelChoiceField(required=False,queryset=...
0
votes
1
answer
28
views
How to configure app widget with SwiftData
I need to configure a widget by SwiftData object (in my case a TaskItem), so when the user selects a TaskItem the widget will provide him the chosen task info, to do that we need AppIntent which ...
2
votes
1
answer
20
views
Unable to See Custom Placeholder in Sitefinity CMS
I am new to Sitefinity and currently working on a Sitefinity 15 project.
I've added a custom placeholder (language-selector) to my MVC view (NavigationView.cshtml) as follows:
@model Telerik....
0
votes
0
answers
11
views
'notifyAppWidgetViewDataChanged(Int, Int): Unit' and 'setRemoteAdapter(Int, Intent!): Unit' are deprecated
As the title says,
'notifyAppWidgetViewDataChanged(Int, Int): Unit' and 'setRemoteAdapter(Int, Intent!): Unit' are now deprecated
I use those functions to manage the widgets of my app, but they are ...
0
votes
0
answers
18
views
Bring down the y position of the centre item of flutter carousel slider
I'm using carousel_slider flutter plugin. I want to bring down the y-position of the centre item close to half the horizontal axis of the carousel. My code is below :
CarouselSlider.builder(
...
0
votes
1
answer
21
views
How to scroll down the child widgets of a Scaffold in Flutter?
What I am trying to achieve:
Create a floating button on the screen. When user clicks on it, make a screenshot, then try to scroll down on the page and any scrollable widget in the view port, one by ...
1
vote
1
answer
56
views
Light Grey looks Greenish in Flutter
As you can see in the two image provided, light grey looks greenish despite reading a value of #F6F6F6 , then it looks normal after changing the scaffold background to White.
Are Flutter Widgets ...
0
votes
0
answers
27
views
How I show dropdown select List<String> on chip widgets
When the user selects the Dropdown item, it collects the list data, but I can't show it on the chip widgets.
Expanded(
child: ...
0
votes
0
answers
14
views
Android widget not displaying any data for Listview, just shows the header
I am new to android widgets, and writing this in a sample app. For some reason my widget just displays the widget_toolbar the list view remains empty.
Following this example.
Here is my code:
...
0
votes
0
answers
29
views
How to get form values submitted over widget imbedded
The following script is the code i got from another service and i need to utilize submitted form fields elsewhere:
<script src="https://akiba-enterprise-widget-prod.web.app//Widget.js">...
0
votes
0
answers
6
views
QtCreator: missing shortcut for switching between widgets
For example (in QtCreator) using Ctrl-F to find a piece of text in the opened file – the focus switches from files to search box, I enter the searched text, I enter ENTER, and if existent, the file ...
0
votes
0
answers
16
views
It requires Ctrl+S to rebuild specific UI component..! [ Flutter, Provider ]
I'm using Flutter and Provider, and there's a small issue.
To shorten the code, I made a frequently used widget to separate file.
But when I use that widget from separate file, no data (the inputted ...
1
vote
3
answers
211
views
iOS 18 Control Widget that opens a URL
I already have an iOS 17 App Intent that works with a URL:
@available(iOS 16, *)
struct MyAppIntent: AppIntent {
static let title : LocalizedStringResource = "My App Inent"
static ...