201 questions
1
vote
0
answers
35
views
CupertinoNavigationBar's backgroundColor no longer working?
Since updating to flutter 3.29.3, the backgroundColor of my CupertinoNavigationBar is always white / transparent (it simply never applies any color, no matter what you do).
To reproduce:
Create a new ...
0
votes
1
answer
83
views
CupertinoDialogAction doesn't respond to taps inside AlertDialog on iOS in Flutter 3.27+
Has anyone faced this issue in Flutter 3.27 or later, where CupertinoDialogAction doesn't work when placed inside a regular AlertDialog on iOS devices?
The button doesn't respond to taps at all on iOS,...
0
votes
0
answers
13
views
flutter change CupertinoTabView with animation
I'm trying to make the change in tabView with a fade out/fade in animation like for example WhatsApp.
class MyCupertinoAppHomePage extends StatefulWidget {
MyCupertinoAppHomePage({super.key});
...
0
votes
1
answer
49
views
CupertinoNavigationBar doesn't have its background color
I am trying to use a CupertinoNavigationBar like this,
return CupertinoPageScaffold(
navigationBar: CupertinoNavigationBar(
middle: Text('Settings', style: TextStyle(color: ...
0
votes
0
answers
36
views
CupertinoTabScaffold showing a black screen
In my flutter app, I am trying to use CupertinoTabScaffold, but it just makes my entire physical emulator (Samsung galaxy s7) screen black.
Here is the code (from https://api.flutter.dev/flutter/...
1
vote
0
answers
42
views
Flutter : CupertinoSwitch padding
The Cupertino switch has built in 4px padding on each side and default size of 51X31 (59X39 with padding).
Code from CupertinoSwitch()
const double _kTrackHeight = 31.0;
const double _kTrackWidth = 51....
0
votes
1
answer
61
views
Exception while flicking Cupertino Date picker year wheel beyond minimum or maximum dates
Whenever I "long flick" the year-wheel of the Cupertino date picker (in my Android app), such that the min or max year is crossed by the wheel, an exception arises with the following message:...
1
vote
0
answers
70
views
iOS cupertino_http error: Unhandled Exception: Invalid argument(s): Couldn't resolve native function '_wrapListenerBlock_1a6kixf'
I am trying to run the sample app given with cupertino_http package in iOS. But I am getting below error.
flutter: The Dart VM service is listening on http://127.0.0.1:53003/tmg2xds8gus=/
[ERROR:...
0
votes
1
answer
31
views
Resizing CupertinoNavigationBar don't work with PreferredSize
I'm trying to change the height of the CupertinoNavigationBar for my flutter app. I tried to do it with PreferredSize (like in material app) but unfortunately it doesn't work.
CupertinoPageScaffold(
...
0
votes
0
answers
17
views
Show results of search in Firebase
I am developing an application using data from Firebase. I have a ListView with the same Containers containing different data from Firebase.
I want to do a search so that I can easily find Containers ...
0
votes
0
answers
67
views
Flutter - Cupertino Page Router gesture issue
I am using different navigation for different platforms using a static function. The default pop gesture of iOS is working, but in some screens can't pop using the gesture.
here is the router handling ...
0
votes
1
answer
124
views
How to control CupertinoContextMenu dividers thickness
I want to control the thickness of CupertinoContextMenu's divider's, I didn't see this property in Theme class and also I was not able to spot customization on widgets properties, how would that be ...
5
votes
1
answer
264
views
CupertinoActionSheetAction onPressed to trigger a loading indicator followed by checkmark with a delay
I'm using a CupertinoModalPopup with a CupertinoActionSheet widget to display a set of options for the user to choose from.
I intend to show a circular loading indicator followed by a checkmark(tick) ...
0
votes
1
answer
128
views
A value of type 'Future<dynamic>' can't be returned from the method 'build' because it has a return type of 'Widget
I'm attempting to implement the showCupertinoModalPopup() form the cupertino library of Flutter for my flutter app. I'm getting the said error when I use a return showCupertinoModalPopup() from a ...
1
vote
0
answers
85
views
Prevent Flutter Background image from resizing when keyboard toggled on pushed screen in CupertinoTabScaffold
I know that this question popped up many times regarding the general app scaffold:
Flutter: Background image is squeezing when keyboard appears (suggesting to set the resizeToAvoidBottomInset: false ...