flutter-layout Questions

10

I am getting the error when I try to load the pdf from url. It shows the number of pages of pdf but then it crashes. Using plugin - https://pub.dev/packages/advance_pdf_viewer ═════════════════════...
Bernardinebernardo asked 15/10, 2020 at 7:9

12

Solved

Very new to Flutter. I've been able to utilize HTTP requests for data, build a ListView, edit a Row in that List and other basics. Excellent environment. I've managed to cobble together a badly con...
Trinomial asked 23/4, 2018 at 16:59

24

Solved

I am implementing image_picker in my app. That is not showing any warning or message but when I run it in Android simulator it shows me an error in console: [ERROR:flutter/lib/ui/ui_dart_state.cc...
Bornu asked 23/7, 2019 at 11:24

4

How can I get this type of rounded background in Text widget?
Percival asked 26/2, 2020 at 17:56

9

Solved

How to find out Orientation is portrait or landscape in Flutter if(portrait){ return ListView.builder() }else{ return GridView.count() }
Trimmer asked 12/6, 2018 at 10:31

3

Solved

How can one push the trailing widget within a Flutter Navigation Rail to the bottom of the rail? I thought it would be as simple as wrapping the trailing widget with an Expanded widget, but I get t...
Belvia asked 15/7, 2020 at 20:10

2

Solved

How to split an image into equal-sized parts? Just taking an image from asset and splitting it into equal parts in a grid-like manner, so that each image part can be used as a separate image. Some...
Broadfaced asked 13/10, 2019 at 11:35

3

Solved

I'm using DataTable in my recent app and i need to change the color of the row line or make it invisible (i mean I don't want to my table shows any row line) If anyone knows please help! thanks
Sukiyaki asked 1/11, 2019 at 11:59

3

Solved

I am working on flutter to display a image with top and bottom gradient overlay. Some portion of image top and bottom should be display with shadow like covered by other color like gray. Please f...
Elanorelapid asked 31/3, 2020 at 13:25

4

Solved

I want to show date and time picker together but I think no any widget or lib provides this feature in flutter. Any suggestion or solution ?
Luca asked 15/3, 2022 at 9:46

3

I want to design a custom navigation window like the one below. I planned to: Create my navigation widget Create my news feed widget Stack both widgets (news feed on top of the navigation) If the...
Shufu asked 21/6, 2018 at 4:51

3

Solved

My goal is to add a tab inside a colum, and add more widgets on this column. But when i'm adding a tab, i'm getting an error of Horizontal viewport was given unbounded height. Viewports expa...
Moria asked 30/10, 2019 at 6:57

5

Solved

I have an AlertDialog widget that will cause a SnackBar to display when you tap on its Text. The SnackBar currently displays behind the AlertDialog barrier, in the background. I want the Snackbar t...
Mcglothlin asked 19/7, 2021 at 18:31

5

Solved

Is there a way to build a grid that's not scrollable in itself and which size is according to its children, the same way we can specify in a row or column mainAxisSize: MainAxisSize.min? To give y...
Tisiphone asked 5/10, 2019 at 12:57

6

It seems that a recent update of Flutter changed the behavior of the BottomNavigationBar. Formerly, when the keyboard appeared, the keyboard would cover the BottomNavigationBar. Now, however, the B...
Rubel asked 16/9, 2018 at 2:3

9

Solved

In my app I am creating signup page where I need to add DOB. I want to add date picker in that but I am not getting correct way to do this.
Doorknob asked 9/10, 2018 at 18:49

3

I want to create a expandable container that have multiple controls like textentry and buttons. So I have implemented a bottom sheet but I want to set this position on top. Code: Widget build(Bu...
Staves asked 4/6, 2019 at 9:15

3

Solved

I'm trying to build a ListView, where the tiles look like this: However, I'm facing some issues here. So the item layout is @override Widget build(BuildContext context) { return new GestureDet...
Fiddlewood asked 11/5, 2018 at 3:47

4

Solved

Does anyone know how to create a border with text at the top like the following where is says "Create an account?
Mudra asked 17/9, 2019 at 16:36

7

Solved

I have a reverse ListView.builder that grows downward but initially has only a single widget in it. See repo: https://github.com/gmlewis/reverse_listview It puts all the empty space above the fir...
Penelope asked 12/7, 2018 at 15:54

3

Solved

launching the app on android and iPhones works well while launching it on iPad the app unexpectedly is not taking the full width of the screen! tried editing the Main.storyboard <view> wi...
Brabble asked 22/8, 2019 at 9:50

4

Solved

This is a repository to create a minimal reproducible example. I want SliverAppBar hidden when ScrollablePositionedList.builder is Scrolled. This is the relevant piece of code I am including here...

7

Solved

The keyboard hides my ListView (GroupedListView). I think it's because of the Expanded Widget. My body: Column( children: [ Expanded( child: Padding( padding: const EdgeInsets.all(8.0), child:...
Hambletonian asked 4/1, 2022 at 11:16

3

In the docs of _RenderLayoutBuilder in layout_builder.dart it says: 'LayoutBuilder does not support returning intrinsic dimensions.\n' 'Calculating the intrinsic dimensions would require running th...
Scheelite asked 6/1, 2022 at 22:13

3

Solved

I'm new to flutter and I'm trying to build a rather simple app. I have this simple (and still in progress) code and I'm trying to add a new Widget every time the user clicks a button. Here's my co...
Spore asked 9/6, 2018 at 19:44

© 2022 - 2024 — McMap. All rights reserved.