Questions tagged [cupertino-widgets]
13 questions
7
votes
0 answers
Flutter Cupertino/Material combined Theme / shared font family
I've been trying to solve a couple of problems using both Material and Cupertino widgets.
1) I can't seem to figure out how to globally define a font family for both. Either I use a CupertinoApp and have the Cupertino widgets correct or MaterialApp…

Jordan Dearsley
- 71
- 1
- 3
6
votes
4 answers
Will Cupertino widgets works on android
I have an issue where I need to use tab navigation. The current material scaffold only has 1 stack. So, if I need to go several levels deep (child pages), then I lose the tab context. The Cupertino scaffold allows me to go several levels deep but…

user2570135
- 2,669
- 6
- 50
- 80
3
votes
1 answer
How to create Cupertino picker that has both kg and lbs option in Flutter
I'm trying to create a Cupertino Picker that will show weight and other option like kg and lb. Ive tried to work it out. It working for "kg" but how can i display for "lb" and also how to get after selecting 55 kg and display same 121.245 lb vice…

Vamsee.
- 181
- 3
- 12
1
vote
0 answers
"dispose" function not working when the current tab is changed
Whenever I switch between tabs while using CupertinoTabScaffold, my dispose function is not being called.
class CustumPageViewBuilder extends StatefulWidget {
const CustumPageViewBuilder({
super.key,
required this.words,
});
final…

Mr Yuksel
- 21
- 1
- 4
1
vote
1 answer
CupertinoTabView resets on Hot Reload
I am developing an app, using the CupertinoApp model. I am using the CupertinoTabView model for the app. Now during development, the tab index resets on hot reload. I tried setting the state on the tab controller but it still resets.
code:
class…

Mudassir
- 725
- 6
- 28
0
votes
2 answers
How can I set the initial time for the time picker in Flutter CupertinoDatePicker?
In my CupertinoDatePickerMode.time , I need to slide the picker for setting the time which is currently on the picker with onDateTimeChanged. I click the button and the picker pops up. I can set the time like I said only after sliding the picker.
So…

Ata Berk Çinetçi
- 25
- 5
0
votes
2 answers
How to Create This Type of Two Button in the End of CupertinoActionSheet?
showCupertinoModalPopup(
context: context,
builder: (context) {
return CupertinoActionSheet(
actions: [],
title: Text("Sampark Tag"),
…

Mayank Prajapati
- 5
- 4
0
votes
1 answer
Flutter CupertinoSliverNavigationBar with translated / non constant text?
I am trying to create a view with a CupertinoSliverNavigationBar in Flutter.
child: CustomScrollView(
slivers: [
const CupertinoSliverNavigationBar(
largeTitle: Text("captureSelectionView.viewTitle").tr(),
…

Christian
- 217
- 3
- 11
0
votes
1 answer
How to edit the text title in CupertinoSliverNavigationBar using a controller in flutter?
I was wondering if there is a way to actually edit the large title as part of the CupertinoSliverNavigationBar for my TODO list app I want to make the large title as a title that can be editable and when scrolled up it actually displays the title.
…

Srikanth Kandarp
- 15
- 4
0
votes
1 answer
Cupertino Icons not showing on android device
I'm new to flutter, and I'm trying to use CupertinoDatePicker and CupertinoPicker on an android app, on Android Studio emulator(Android 10 and 11) it's showing normally and on a Galaxy M21s(Android 11) too.
The problem is when I try to run it on my…
0
votes
1 answer
Flutter CupertinoPicker UI breaks and children are not displayed properly
I am quite new to Flutter and was trying to implement the CupertinoPicker Widget.
When I press a button I want to be able to replace the current CupertinoPicker with another one.
Unfortunately when I try this the text from the second UI is quite…

Taka
- 55
- 1
- 9
-1
votes
1 answer
Problems using Cupertino when publishing to PlayStore and AppStore
I am building an app that would like to publish to the Google Play Store and AppStore. Hence my question, what problems await me when I use Cupertino date picker, for example. By problems, I don't mean user problems, but rather license, etc.

Parla
- 23
- 2
-1
votes
1 answer
How to select single toggle switch in itemBuilder?
I use itemBuilder to buid items with toggles and item name,the number of items depends on the length of string array,my problem is when I click anyone of the toggle,all of the toggles will active
how to make them active individually?
import…

Ae Gg
- 29
- 5