Questions tagged [flutter-cupertino]
184 questions
1
vote
0 answers
Android back button doesn't work correctly in CupertinoTabBar apps
How can I set up a native back button on Android devices when using CupertinoTAbScaffold?So that she does not close the application, but returns back. I tried to solve with the method which is described in this question: Flutter :…

userName
- 903
- 2
- 20
1
vote
3 answers
Why I get Flutter mistake screen(red screen) when using CupertinoNavigationBarBackButton?
This is the problem that I got => The following assertion was thrown building CupertinoNavigationBarBackButton(dirty, dependencies: [_ModalScopeStatus]):
CupertinoNavigationBarBackButton should only be used in routes that can be…

theredboy
- 92
- 10
1
vote
1 answer
CupertinoTabBar and BottomNavigationBarItem UI not updating with ChangeNotifierProvider
I'm using Flutter Provider package for managing currentIndex state of CupertionTabBar. I'm doing this instead of using setState of StatefulWidget because I want to programmatically update current active tab from within the tab view pages.
Here's the…

rmalviya
- 1,847
- 12
- 39
1
vote
4 answers
I want to keep the bottom navigation menu on external page in flutter
I implemented different types of menus (bottom navigation bar, cupertino and custom navigation bar), but I didn't solve the problem.
I don't want to use the app bar to go back, only the menu.
So the workflow will be like this: 3 buttons - feed, home…

Roland Iordache
- 325
- 4
- 20
1
vote
1 answer
CupertinoTabView casusing Assertion failed: _history.isNotEmpty is not true on Navigator.pop() (web only)
So I have an app that Pops the current screen once an event happens. The code works fine on iOS and Android. But on the web I get the following error:
Assertion failed:
..\…\widgets\navigator.dart:5083
_history.isNotEmpty
is not true
The debug…

Mudassir
- 725
- 6
- 28
1
vote
0 answers
How to remove CupertinoAlertDialog's transparent in Flutter
I want to remove the transparency of the Cupertino content box.
What can I do?

Get Malone
- 29
- 2
1
vote
1 answer
Flutter Cupertino Text Field Sizing Error
When a user double taps the text to bring up "Cut Copy Paste", there is a sizing error with the pop-up and the text is cut off. I can't find any questions around this that can help.
See Screenshot and code below
Padding(
…

user16034511
- 334
- 1
- 14
1
vote
1 answer
Cupertino Tab Bar
I am trying to implement the Cupertino bottom tab bar. I have 2 issues. When I call the widgetBuilder in the Cupertino tab view I get 'The function can't be unconditionally invoked because it can be 'null'', so add a null check '!' but then it…

Antoine23
- 79
- 1
- 5
1
vote
1 answer
TextField inside CupertinoAlertDialog
I'm making a dialog, which has a text field to get input from user, by using CupertinoAlertDialog. However, it keeps saying No Mater Widget Found. I searched and tried with some solution from the Internet but it didn't work.
Here is my…

Hoangdz
- 152
- 1
- 14
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
1
vote
2 answers
Flutter - CuppertinoDatePicker theme overwrite breaks column width
I'm using the CupertinoDatePicker for setting a date in a form. To match our application design I need the picker to be in dark mode, so I adjusted the backgroundColor. For the text in the picker to be white I wrapped the picker inside a Container…

Edblocker
- 430
- 1
- 3
- 15
1
vote
2 answers
Flutter how to hide Cupertino bottom navigation bar at next page
I currently working on a project need to build with Cupertino widget. Everything is fine until I trying not to display bottom navigation bar at next page, but the bottom navigation bar still bring forward from previous page. Below is my example…

Deno
- 434
- 4
- 16
1
vote
4 answers
Changing The Text Color Of Cupertino Date Picker
Attached below is my current code for changing the text color of CupertinoDatePicker:
Container(
decoration:
BoxDecoration(borderRadius: BorderRadius.circular(12)),
height:…

VegetaSaiyan
- 203
- 6
- 18
1
vote
1 answer
Flutter - ScrollController with CupertinoSliverNavigationBar, largeTitle to smallTitle not working
When I use a ScrollController in a ListView, it blocks the CupertinoSliverNavigationBar largeTitle from transitioning to a smallTitle. However, if I remove the scrollController, the problem goes away. I think it might be a bug in the Cupertino…

MobileMon
- 8,341
- 5
- 56
- 75
1
vote
1 answer
Locally overriding CupertinoTheme with Flutter
I'm working with Cupertino widgets, and need to locally override my global CupertinoTheme, and use CupertinoTheme widget for this purpose. My use case is to force some 'dark' theme when displaying text on top of images, but the issue is general.
In…

DenisGL
- 1,190
- 1
- 16
- 31