Questions tagged [flutter-cupertino]
184 questions
0
votes
0 answers
FORMS, no further idea how to implement a TextField with a CupertinoApp
This drives me nuts. I am trying to get a CupertinoTextField into a Form. But no matter what I try, everything turns out as a dead end.
The complication of my case is, the form in embedded into the Flushbar package, which provides kind of a snackbar…

w461
- 2,168
- 4
- 14
- 40
0
votes
2 answers
Widget and CupertinoWidget : avoid code duplicate
How to avoid code duplication when we want Platform specific Widget for Android and Cupertino Widget for iOS like Switch ?
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
…

Florian K
- 2,033
- 1
- 9
- 21
0
votes
1 answer
How can I add a Drawer widget to a CupertinoTabScaffold
I'm working on an app with this build function in the homepage:
@override
Widget build(BuildContext context) {
return CupertinoTabScaffold(
tabBar: CupertinoTabBar(
items: items(context),
),
tabBuilder:…

McDJ
- 767
- 2
- 11
- 28
0
votes
1 answer
Cupertino Datepicker not rendering correctly in Flutter
I started a new project to make sure that the current project I was working on wasn't corrupted, but the widget still doesn't render correctly.
This happened after trying to update flutter whilst trying to fix other issues.
The months, dates, and…

Frederick Mfinanga
- 1,045
- 1
- 10
- 27
0
votes
2 answers
How do I make BottomNavigationBar page transition with Flutter's onWillpop?
I am using BottomNavigationBar in Flutter Project.
This question is for line 30 "//TODO: back to the FirstTab".
When a user is in the SecondTab or ThirdTab and the BackButton in the Android device is pressed, I want the user to go to the…

Yone
- 57
- 1
- 9
0
votes
0 answers
My cupertino Picker does not show children unless I hot refresh
I have a cupertino picker on flutter that gets its children from firestore.
return CupertinoPicker(
itemExtent: 50,
onSelectedItemChanged: (int index) {
setState(() {
_selectedUserId = user[index].userId;
_selectedUserName =…

Sky Lurk
- 417
- 1
- 3
- 13
0
votes
1 answer
Flutter - Right overflowed
When I put a Text widget just for test, the program shows "A RenderFlex overflowed by 34 pixels on the right.". I tried to put the Text in a Container, but it isn't works too. Look the print:
CupertinoPageScaffold(
navigationBar:…

Gabriel
- 21
- 4
0
votes
1 answer
Flutter multiple WebView widget error "Bad state: Future already completed"
My goal is to make a WebView app with several CupertinoTabViews that when clicking each BottomNavigationBarItem, CupertinoTabScaffold shows different WebView containing widgets; pageA and pageB.
As the application launches, the first WebView…

klados
- 706
- 11
- 33
0
votes
1 answer
How do i implement iOS style delete in flutter
I am looking to implement iOS type delete in flutter.
Please see image below. Is there a widget which provides this functionality? Or do i need to implement it myself?
Image here

Vaibhav
- 3
- 3
0
votes
1 answer
CupertinoActionSheet throws RenderBox was not laid out: RenderFlex#54b93 relayoutBoundary=up8 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE error Flutter
My app runs both on web and device, and when receiving a booking state from bloc I show a bottom sheet show booking details and . When running the app on web showModalBottomSheet shows without problems, but when running the iOS version on iPad I get…

Vincenzo
- 5,304
- 5
- 38
- 96
0
votes
1 answer
How to make multiple Cupertino buttons in SafeArea in Flutter?
I am creating a flutter app which has a gridview of Cupertino buttons which are all gonna be clickable and when clicked pass on to a new page.
I have managed to create one Cupertino button with the help of this article…

Nishit Mistry
- 13
- 2
0
votes
1 answer
Cupertino Sliverapp bar not scrolling
Hello guys i am working in this Platform specific flutter application and wanted have sliver like the gif listed bellow i was able to achieve part of it but the search bar is not moving with scrolling.Please help.
Widget _buildContent(context,…

e.T55
- 443
- 1
- 4
- 21
0
votes
1 answer
how to return value from cupertinoPicker in flutter
i have a button with a Text widget as child, inside a showModalBottomSheet which builds
another showModalBottomSheet holding a cupertinoPicker.
how can i return the value of cupertinopicker?
it only returns the value when i close down the first…

Rizzo Moriarty
- 47
- 9
0
votes
1 answer
Adding transition to MaterialPageRoute
I've been trying to use transitions within my RouteGenerator and didn't had any success yet, in my material design I'm just calling the route with the onGenerateRoute using only the "/" string. I would like to use the cupertinoPageRoute transition…

Pedro H Ferreira
- 29
- 3
0
votes
0 answers
How to customise CupertinoTabBar
It's a vague one but can we customize CupertinoTabBar and make it look like this -

Sarthak
- 99
- 9