flutter-layout Questions

3

Right now I am using a column to display several widgets: Column( children: [ Text('1'), Text('2'), Spacer(), Text('3'), Text('4'), ], ), So the screen looks like this: --- 1 2 3 4 -...
Sisera asked 18/6, 2021 at 9:36

5

Safearea() does not wrap the showModalBottomSheet properly. I need to show the modal under the status bar. class ModalBottomSheet { static void renderModalBottomSheet(BuildContext context, Widget...
Ballyrag asked 25/7, 2022 at 12:20

6

Solved

I am trying to get a red asterisk() in a RichText widget; I can use the style property. But it will make the entire text red. I want only the asterisk() to be red. Any clue, how to make it happen? ...
Vasilek asked 14/12, 2018 at 19:4

2

So I am exporting a file created in my application with extension .abc Now, if the user shares the file on whatsapp or telegram or any other platform and when other user tries to open the file, th...
Hemihydrate asked 3/8, 2019 at 12:14

4

Solved

I have built a Listview with ExpansionTile. But Now I want that if I tap on an ExpansionTile then only that ExpansionTile should open and other Expanded ExpansionTile should close. Please help me ...
Disorganization asked 14/5, 2020 at 6:36

8

Solved

I'm designing a drawer for the first time and the DrawerHeader apparently comes with a grey line as divider I want to get rid of, but I don't know how. Code here (edited for readability), screensho...
Helmick asked 18/3, 2022 at 17:56

5

Solved

I am using image_picker: ^0.8.4+4 where I am getting this error. what I can do to make this code right? late File selectedImage; bool _isLoading = false; CrudMethods crudMethods = CrudMethods(); F...

3

Solved

I know how to save visible widgets to an image using RepaintBoundary What I want is a way to save a widget that is not visible to the user as an image.
Upholster asked 6/7, 2019 at 3:55

2

Solved

I would like to put my QuillEditor inside my form and not on a dedicated page of my app. I've tried with a Column inside a SingleChildScrollView and with a ListView widget, but the result is the sa...
Forgot asked 12/7, 2021 at 17:10

8

Solved

I've implemented TabBar() inside my AppBar(). Now, there is extra space between tabs. I'm running it on Chrome (web). I've tried to add zero padding to the indicatorPadding, labelPadding and paddin...
Polynesia asked 28/9, 2021 at 6:27

5

Solved

I have a CupertinoAlertDialog and AlertDialog in my Flutter app. every time the dialog pops up, everything behind it becomes darker. I would like to remove the background. how do I do that? Cupert...
Slaphappy asked 12/6, 2019 at 15:8

4

I'm trying to overlap a SliverList a few pixels over the SliverAppBar. Similar to this post. I'd like the image in the FlexibleSpaceBar to go under the radius of my SliverList. I'm attempting to ac...
Carbolated asked 24/2, 2019 at 21:1

3

Solved

I tried to implement math equations in flutter application using the flutter TeX package. It takes much time to render the equation. It doesn't look so nice as I wanted to be. Are there any other i...
Raiment asked 27/4, 2020 at 5:24

3

In Flutter, I have a TabBarView within a NestedScrollView with two children. The two children are scrollable, and are built with FutureBuilder, when there're data they return a ListView. When ther...
Soteriology asked 6/9, 2020 at 15:47

18

I'm using flutter_bloc. I've got code like this: class Settings extends StatelessWidget { final _formKey = GlobalKey<FormState>(); @override Widget build(BuildContext context) { return ne...
Marileemarilin asked 5/2, 2020 at 13:29

7

has anyone come across something like fadingEdgeLength in Android for Flutter so that when you scroll up items start fading into the top of the screen? Below is my interface built up of the Widget...
Unload asked 27/6, 2018 at 15:35

3

Currently, I'm using a flutter screen recorder plugin(https://pub.dev/packages/flutter_screen_recording) to record the screen, Actually, this plugin records the full screen of the mobile. But my re...
Watanabe asked 9/7, 2020 at 11:38

3

This is the picture of the problem, is it a default padding on Bottom Navigation Bar? If it is, how can I remove it? As you can see in the code below, I have a container and a icon inside of the B...
Parrie asked 30/6, 2020 at 20:40

6

I am creating a PDF document that has a large content. However, I am not able to show the PDF and I get the error "This widget created more than 20 pages. This may be an issue in the widget or th...
Cantal asked 8/5, 2020 at 12:53

12

Solved

These days I am developing flutter mobile application for the Android platform. I want to add a button with text an icon/image. That image must be the right side of the button text. I have alread...
Theft asked 31/5, 2019 at 5:57

3

Solved

I've got an elevated button with an icon where the icon is placed left to the text using ElevatedButton.icon. What I actually want is to place the icon to the right of the text. How can I do it my ...
Calcicole asked 22/11, 2021 at 4:58

7

Dears, I have 2 qestions in flutter If you don't mind. 1- How to change the color of the cursor as it default blue and I don't like it 2- how can I make the text at the bottom of the screen wh...
Alessandro asked 5/5, 2019 at 12:25

5

Solved

How do I get the status bar height?
Belonging asked 17/11, 2020 at 10:26

4

Solved

I have a small currency table. I didn't use grid. I used Column and rows. Problem is that items in rows is not showing in center as shown below in the Excel example. What widget do I have to use to...
Ned asked 15/6, 2018 at 7:34

10

Solved

Is there any built in way in Flutter to hide a FloatingActionButton on ListView scrolling down and then showing it on scrolling up?
Endurant asked 11/8, 2017 at 9:15

© 2022 - 2024 — McMap. All rights reserved.