Questions tagged [flutter-cupertino]
184 questions
1
vote
0 answers
How to add days or unlimited hours on cupertinoTimerPicker?
How to add days or unlimited hours to CupertinoTimerPicker?
or Is that any way to add hours and minutes without using CupertinoTimerPicker
Widget time() {
return CupertinoTimerPicker(
mode: CupertinoTimerPickerMode.hm,
…

user9139407
- 964
- 1
- 12
- 25
1
vote
2 answers
Expand area of CupertinoNavigationBar leading
I am using CupertinoNavigationBar to make a layout expected like image below
In left side/leading area, I override default back button to create the layout, but instead I got an overflow
return CupertinoPageScaffold(
...
leading: Row(
…

Ampersanda
- 2,016
- 3
- 21
- 36
1
vote
2 answers
Flutter CupertinoTabBar: cannot switch to a tab by index on a stream event
Trying to activate CupertinoTabBar's tab 0 while tab 1 is active on a stream event like this:
{
class HomeScreen extends StatefulWidget {
@override
State createState() => HomeScreenState();
}
class HomeScreenState extends…

Alex Sido
- 21
- 3
1
vote
1 answer
Material Datepicker with Cupertino UI
I have Flutter app that is using Cupertino UI components. I want to show the the Material design date_picker instead of IOS style date picker. Is there any way I can do this?
In short I want to keep the same Material style date picker for both…

Sam
- 2,972
- 6
- 34
- 62
1
vote
2 answers
Using Flutter's Cupertino widgets, how do I trigger a horizontal page transition on top of bottom tab bars
Instead of a common horizontal page transition inside of one of the tabs or a common vertical page transition on top of the tab bar, how can I push in a page transition horizontally and on top of the tab bar?
This is commonly seen in Chinese…

xster
- 6,269
- 9
- 55
- 60
0
votes
1 answer
Is there a way to change the written date using Cupertino date picker?
The current date is already written in the text button. When you press it, a CupertinoDatePicker pops up, but I want to change the written date instantly when I change the date in CupertinoDatePicker. With normal date picker it is possible but after…

anıl
- 1
0
votes
0 answers
Error while trying to load font family "packages/cupertino_icons/CupertinoIcons": SyntaxError: An invalid or illegal string was specified
I have an issue with github pages and flutter web.
When i launch Github Pages i have this issue :
Screenshot
And i have a blank page.
It's weird because it works well in local.
Here is my Github Actions worflow :
name: Deploy to GitHub Pages
on:
…

Louis P.
- 1
- 1
0
votes
0 answers
Once you have called dispose() on a FixedExtentScrollController, it can no longer be used. The relevant error-causing widget was CupertinoDatePicker
CupertinoDatePicker(
maximumDate: DateTime.now(),
onDateTimeChanged: (DateTime newdate) {
widget.birthdate = newdate;
},
minimumDate: DateTime(1950),
initialDateTime: DateTime(
…

Abdullah Rafiq
- 169
- 9
0
votes
1 answer
How to change title's background color in CupertinoActionSheet flutter
i am using CupertinoActionSheet for bottomsheet. But i have problem with title's background color, i need title's background to be white. I searched but couldn't find a solution for this.
Can you help? is there a way?
This is my action sheet but i…

Beyza
- 21
- 3
0
votes
2 answers
Flutter: How can I implement this type of bottom sheet in my flutter app?
I want this type of Cupertino modal bottom sheet?
Flutter (Channel stable, 3.10.5, on macOS 13.4.1 22F82 darwin-arm64, locale en-IN)
Android toolchain - develop for Android devices (Android SDK version 34.0.0)
Xcode - develop for iOS and macOS…

Zubair DKD
- 21
- 5
0
votes
1 answer
Flutter Cupertino DateTime Picker: how to remove transform tilt effect of wheel
I am using a flutter plugin called flutter_cupertino_datetime_picker and I want to modify the wheel to remove the curvature of the numbers (screenshot) and display it without transformation.
Now
Desired
By default it shows like the second…

rafa_pe
- 155
- 1
- 4
- 15
0
votes
0 answers
CupertinoTheme not applyed to modals and action sheets - flutter
Whats happening
Applying a font family all over my CupertinoApp using CupertinoThemeData.
Font family is used from google_fonts package.
Questions/issues
The text theme specified in CupertinoThemeData isn't applying it to CupertinoActionSheet…

Muhammed Rahif
- 434
- 1
- 5
- 17
0
votes
0 answers
Adding a suffix widget to CupertinoTextFormFieldRow
Is there a way to add a suffix widget to CupertinoTextFormFieldRow without it losing the CupertinoForm style? I would like to see something like:
CupertinoTextFormFieldRow(
prefix: const Text('Email'),
placeholder: 'Enter your email',
…

Binoy Babu
- 16,699
- 17
- 91
- 134
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
0 answers
How to make an iOS (cupertino) styled, scrollable and reorderable list?
The list one gets in iPhone's Reminders app is precisely what I want, implemented in Flutter using cupertino.
The desired functionality is basically what material's ReorderableListView provides, except the styling. (Or is there any way to put a…

bagratte
- 157
- 2
- 5