Questions tagged [flutter-cupertino]
184 questions
0
votes
1 answer
What are those Cupertino fields in flutter?
I see these fields everywhere, these tiles. How are they called in flutter? Where can I find or how can I build them?
(I'm talking about these 4 tiles).

Alexandru Stroescu
- 1,067
- 1
- 9
- 16
0
votes
1 answer
CupertinoActionSheet throws infinite size during layout error
I get the following error when calling the CupertinoActionSheet when implementing SingleChildScrollView on my stateful widget:
_RenderCupertinoAlertActions object was given an infinite size during layout. The relevant error-causing widget was
…

user13453002
- 65
- 1
- 1
- 4
0
votes
1 answer
Flutter Cupertino bottom_tab_bar: 'The method 'method' was called on null'
I have a cupertino bottom_tab_bar on my app, but every time I tap one of the icons to change the page, the debug console shows:
════════ Exception caught by gesture ═══════════════════════════════════════════
The method 'jumpToPage' was called on…
0
votes
1 answer
I want to convert the code below into Cupertino, IOS style. But I Can't Use Drawer Menu for IOS style. Why? How can I use?
I want to make android and IOS style.
I want to convert the code below into Cupertino, IOS style.
But I Can't Use Drawer Menu for IOS style. Why?
How can I use?
return Scaffold(
key: _scaffoldKey,
drawer: Drawer(),
appBar: AppBar(
…

Faruk AYDIN
- 205
- 1
- 4
- 14
0
votes
1 answer
How to maintain the state of CupertinoSegmentedControl for Internationalization?
I'm currently using internationalization from this link:
https://medium.com/flutter-community/flutter-internationalization-the-easy-way-using-provider-and-json-c47caa4212b2
But I change the buttons to CupertinoSegmentedControl instead.
The problem…

leemuljadi
- 410
- 1
- 3
- 14
0
votes
0 answers
How do I fix values display error on Flutter Cupertino TimerPicker widget?
I'm implementing a simple Cupertino TimerPicker widget on a Flutter app and, for some reason, the values displayed on the picker for the minutes get trimmed once they go above…

javiernanni
- 1
- 1
0
votes
1 answer
How to fix 'A dismissed Dismissible widget is still part of the tree.' in flutter
I display a CupertinoPopupSurface and use a Dismissible widget to dismiss the dialog with a gesture. When I swipe down I call Navigator.of(context).pop(); to close the dialog and return to the previous screen but I am getting and error which says…

Jaime Noel Alvarez Luna
- 468
- 3
- 11
0
votes
1 answer
How to immobilize widget layout when keyboard is open?
I am developing a Flutter App. In a specific screen, I have a Cupertino style text field. (The whole app is Cupertino, I have four TabBars below the screen). Whenever I click on the textfield, the virtual keyboard opens and all the widgets squeeze…

Baseduo
- 35
- 1
- 1
- 10
0
votes
1 answer
I want keep this Stopwatch screen running while switching through screens
I have this Flutter iOS styled Stopwatch and I would like to keep the stopwatch running while I switch through screens.
Actual Stopwatch behavior
I already tried with some setState positioned inside the initState function of my Stopwatch but this…

Gabriele Cinà
- 340
- 1
- 4
- 14
0
votes
1 answer
I want to re-create this UI but I don't know how to shape this buttons (Flutter)
I'm trying to recreate the iOS's stopwatch UI with Flutter and I need to create these two buttons but I have no clue how to shape them.
I've already tried with the standard CupertinoButton but there's no option related to circular buttons.
This is…

Gabriele Cinà
- 340
- 1
- 4
- 14
0
votes
1 answer
Has a Cupertino Navigation to show the app bar but need have end drawer
I'm trying to add the CupertinoNavigationBar with endDrawer, I try to add Gesture Detector on trailing, but isn't work, shows this:
The following assertion was thrown while handling a gesture:
flutter: `Scaffold.of()` called with a context that…

Lucas Buchalla Sesti
- 345
- 1
- 3
- 20
0
votes
1 answer
Multiple entity-bound CupertinoTextFields that save on focus out
I have a list of some entries I want edit on focus out. I createe FocusNode for each entry, CupertinoTextField for each entry too.
var textField = (UserMotivator um) {
var controller;
var focusNode = new FocusNode();
…

Martin.
- 10,494
- 3
- 42
- 68
-1
votes
1 answer
The body might complete normally, causing 'null' to be returned, but the return type, 'Future*', is a potentially non-nullable type
I made a bloc builder that implemented form_bloc and i change the date-picker widget to ios style by using cupertino this code/body is showing error alert that it might causing null to be returned, the code:
onShowPicker: (context,…

1988
- 309
- 2
- 15
-1
votes
1 answer
Cupertino style showModalBottomSheet
I wanted to ask if there is any Cupertino style “showModalBottomSheet” available by default in Flutter? I’m designing the app for iOS and that’s one of the things I want to include for my “Add record” process of the app.
I would like to achieve…

Petr G
- 25
- 9
-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