Questions tagged [flutter-cupertino]
184 questions
1
vote
0 answers
How do I implement a typical iOS 14 header with Flutter?
Almost all Apple apps as well as most third party apps on iOS have a uniform header area. It consists of a narrow app bar for buttons, below that a big title and finally a search/filter text field.
The special thing about it is the animation, which…

Michael Kreß
- 11
- 1
1
vote
2 answers
Enable/disable CupertinoDialogAction depending on CupertinoTextField is empty or not
I want to set CupertinoDialogAction to enable if CupertinoTextField is not empty else by default it should be disabled, also I have set the "isDefaultAction: false" but it is still clickable.
showDialog(
context: context,
…

Neeleshwar Kumar
- 335
- 3
- 13
1
vote
1 answer
Cupertino Date Picker Flutter NoSuchMethod error (datePickerHour()) in implementation
Im new in Flutter and Im having troubles implementing a Date Picker Widget, that I have already tested apart, in my App. It just throws an error NoSuchMethodError-> The method 'datePickerHour' was called on null.
Receiver: null
Tried calling:…

albertojaredsd
- 11
- 2
1
vote
0 answers
How can i disable a particular tab in CupertinoTabView, to be able to click?
I want when the user is not logged in the tabs will be disabled except the tab of "Mon Compte" and "Annonces" will be activated.
Is there a way to turn off a particular tab in the CupertinoTabView? so that it cannot be clicked unless the user is…

Brahim CHEBBI
- 47
- 3
- 8
1
vote
2 answers
Flutter showModalBottomSheet is hidden behind CupertinoTabBar
I use CupertinoTabBar, but want to show material design BottomSheet when user's device is Android.
However, when I used both of them, BottomSheet is hidden behind CupertinoTabBar like below.
Could you help me to fix this? Or is it bad to use both of…

naHash
- 51
- 1
- 4
1
vote
1 answer
flutter: Bug? only FlatButton but not CupertinoButton showing Text
Did you ever experience this? Does it make sense to register this as a bug and how would I do this?
For one of my screens I have now this situation for the 2nd time: I insert a CupertinoButton with Text as a child, however, the text does not show…

w461
- 2,168
- 4
- 14
- 40
1
vote
0 answers
Change tab controller index, and wait for the TabView in Flutter
I am making a simple tab bar based app with Flutter. It uses CupertinoTabScaffold and CupertinoTabBar. Each CupertinoTabView has its own WebView.
In the first TabView, a button is placed that if clicked the selected tab will be changed to the next…

klados
- 706
- 11
- 33
1
vote
2 answers
Trying to add router with bottom navigation bar in CupertinoApp
I am trying to add router with bottom navigation bar in CupertinoApp, but Navigator.pushNamed(context,anotherPage) is giving error
Could not find a generator for route RouteSettings("/anotherPage", null) in the _CupertinoTabViewState.
but …

Sayed Talha
- 13
- 3
1
vote
1 answer
Force light mode on CupertinoTextField Flutter
I'm developing a mobile app in Flutter, and until now I only designed a light mode UI and everything is working fine, but if I try to add a CupertinoTextField, since my phone is in dark mode it will appear black. Is there an easy way to force it to…

ssoBAekiL
- 635
- 3
- 13
1
vote
0 answers
Flutter CupertinoTabBar display CupertinoTabView like Share Page on Instagram
this is the first question I ask on StackOverflow and I hope I provide everything needed to answer it correctly.
I'm build an Instagram clone and I want to use a CupertinoTabBar to mimic the app behaviour of Instagram.
Behaviour on…

Marcel Schneider
- 11
- 3
1
vote
2 answers
How to add/enabled ticker sound in CupertinoPicker/CupertinoDatePicker for iOS in flutter?
I am bit new for flutter. I used CupertinoDatePicker but ticker sound missing from it for iOS. so is there any way to enabled it or add it manually when the date-picker is scrolling?
I checked for native iOS date-picker it's working fine only for…

Jaydeep Patel
- 1,699
- 17
- 30
1
vote
0 answers
Status Bar icon color in CupertinoNavigationBar in Flutter
for some time I'm facing a problem with the status bar icons color, when I'm using flutter AppBar i can change the status bar icon brightness without any problem but the issue starts when I'm trying to use the Cupertino style NavigationBar. The…

mbojec
- 163
- 1
- 7
1
vote
1 answer
Flutter: How to remove the divider lines in CupertinoDatePicker?
While doing a coding walkthrough, I've never find a way to get rid of the divider lines.
How can I achieve this? For more info, I just created a new custom class by just copying the CupertinoDatePicker class.

Vivek
- 113
- 1
- 12
1
vote
0 answers
Flutter: CupertinoActivityIndicator non working anymore
I have just went through an upgrade of flutter and all my dependencies and CupertinoActivityIndicator() does not work anymore, ie it does not show up and animate
Does anyone know what is the reason?
Here is my code
class LittleProgressIndicator…

M4trix Dev
- 1,828
- 3
- 23
- 48
1
vote
1 answer
Flutter - CupertinoDatePicker showing one day ahead of the today?
Currently, implementing a default widget CupertinoDatePicker in my flutter app. In this date picker i want the feature that user should not be able to select the day before today. User should be able to select only the future and today's dates.
So,…

Jay Mungara
- 6,663
- 2
- 27
- 49