Questions tagged [flutter-cupertino]

184 questions
0
votes
1 answer

How to scroll CupertinoDatePicker with mouse drags?

I used a CupertinoDatePicker in a Flutter project that also should be deployed as a web app. But the CupertinoDatePicker only reacts to the mouse wheel, not to drag events. I think that this is unexpected behavior for many users. Is there a way to…
DarkMath
  • 1,089
  • 2
  • 15
  • 29
0
votes
2 answers

How to Create This Type of Two Button in the End of CupertinoActionSheet?

showCupertinoModalPopup( context: context, builder: (context) { return CupertinoActionSheet( actions: [], title: Text("Sampark Tag"), …
0
votes
1 answer

Flutter CupertinoSliverNavigationBar with translated / non constant text?

I am trying to create a view with a CupertinoSliverNavigationBar in Flutter. child: CustomScrollView( slivers: [ const CupertinoSliverNavigationBar( largeTitle: Text("captureSelectionView.viewTitle").tr(), …
Christian
  • 217
  • 3
  • 11
0
votes
1 answer

how to increase cupertino time picker range more than 24h flutter

I tried to increase the range of Cupertino pickers of more than 24h but didn’t get any success I am surprised if there is any way to increase the range to more than 24 as only 12 or 24h format is available. I need Valuable suggestions
0
votes
1 answer

The argument type 'List' can't be assigned to the parameter type 'List*' , flutter cupertino date picker inside form_bloc

I tried to following the the code from https://github.com/GiancarloCode/form_bloc/issues/64 about modify widget inside form_bloc using import dependencies from select_dialog, actually i try to implementing cupertino date picker widget inside…
1988
  • 309
  • 2
  • 15
0
votes
3 answers

(Text) right overflowed by 205 pixels

ListView( scrollDirection: Axis.vertical, shrinkWrap: true, children: [ Padding( padding: const EdgeInsets.fromLTRB(20, 10, 20, 10), …
Sahar
  • 35
  • 3
  • 8
0
votes
2 answers

Flutter CupertinoSlider not moving

I'm using a CupertinoSldier to Adjust the font size. the size does change, but the slider itself isn't moving from it's original location. Here's the slider code: child: CupertinoSlider( min: 8.0, max: 34.0, activeColor: Colors.blue, …
Benny
  • 695
  • 2
  • 6
  • 19
0
votes
2 answers

Flutter: What type of transition is this?

I am practising Cupertino App in Flutter, and I found that there is a page transition that looks like stacking the pages. The following is the transition that I found. I found a package named modal_bottom_sheet that looks like have the one I want.…
Naduel
  • 63
  • 3
0
votes
1 answer

Wrapping CupertinoTextField placeholder text

I'm trying to get the placeholder text in a CupertinoTextField to wrap to the next line, rather than being cut off with an ellipsis. When I set maxLines to a value (e.g. 5), the placeholder text wraps. However, I want the TextField to expand with…
sia
  • 256
  • 3
  • 14
0
votes
1 answer

CupertinoDialog cannot pop when Navigator.pop(context) is called together with a function using a global key

Why can't CupertinoDialog pop when Navigator.pop(context) is called together with a function using a global key? final GlobalKey <_PlayyButtonState>_playingButtonState = GlobalKey<_PlayyButtonState>(); ... Future showAlert(){ return…
scott lee
  • 546
  • 5
  • 23
0
votes
1 answer

How to edit the text title in CupertinoSliverNavigationBar using a controller in flutter?

I was wondering if there is a way to actually edit the large title as part of the CupertinoSliverNavigationBar for my TODO list app I want to make the large title as a title that can be editable and when scrolled up it actually displays the title. …
0
votes
2 answers

How to add LinearGradient colour to "cupertino_rounded_corners" widget?

I have created a Squircle widget using the documentation for "cupertino_rounded_corners" at this link: https://pub.dev/packages/cupertino_rounded_corners with the below code. @override Widget build(BuildContext context) { return Container( …
0
votes
1 answer

Cupertino Slider shows values of 499.99 instead of 500

So I want to build a slider where users can choose a value between 100-1000 and the value should be like this 100,150,200,250... 950,1000 but I noticed that I get values like 499.9999994 or 500.000001. Any idea how can I fix this? Row( …
t3nsa
  • 680
  • 6
  • 21
0
votes
1 answer

CupertinoPicker cannot return Text from selected value

I am expecting the textfield to display "A" / "B" / etc upon selection, however it is returning the index "0" / "1" / "2" / ... only, why ??? full widget code below: UPDATED: int selectedValue; Future showPicker() async { …
icantcode
  • 142
  • 1
  • 15
0
votes
1 answer

Flutter Cupertino Icon not displaying

I am new to Flutter and I am trying to create a navigation bar with two icons on the two sides of the bar. I am using Windows Android Studio and the android emulator there. However, currently, only the trailing icon is displaying but not the leading…
snigcode
  • 365
  • 4
  • 17