flutter-layout Questions
4
Solved
How can I push a widget in the frame of another widget? For example I have a Column with 2 Containers where every Container takes half of the screen. I'd like to make a navigation e.g. only in the ...
Buttonhole asked 22/6, 2018 at 10:53
7
Solved
I have a normal ListView which is wrapped by the Scrollbar class to produce a scrollbar when scrolling down. But I want to change the Scrollbar color to white since I have a dark background.
After...
Figurant asked 18/4, 2019 at 10:29
7
How to make DataTable Scroll Bidirectional.
I made the datatable scroll Horizontally but my list is large and unable to scroll down.
@override
Widget build(BuildContext context) {
return Scaffo...
Durazzo asked 22/3, 2019 at 12:10
12
I am getting a warning when using following code but my app is running fine:
════════ Exception caught by rendering library ═════════════════════════════════════════════════════
The following asse...
Show asked 12/11, 2019 at 5:51
5
Solved
I would like to overlay a Round view on top of a background View just like in this screenshot below.
Saritasarkaria asked 24/8, 2018 at 6:36
6
Solved
A chip input field using Material
Xuthus asked 3/9, 2018 at 19:19
6
I have this application in Flutter. It has two classes it spouses to generate a list of notes.
This is the main class, the MyApp class:
import 'package:flutter/cupertino.dart';
import 'package:flut...
Insubordinate asked 17/2, 2021 at 9:55
3
Solved
body: Container(color: Colors.white,
child: SingleChildScrollView(
child : Column(
children : [
Padding(padding: EdgeInsets.only(left : 23.0, top: 23.0, right: 23.0, bottom: 5.0),
child : T...
Parthenos asked 20/1, 2020 at 9:26
5
Solved
FlatButton is deprecated and shouldn't be used. Used TextButton instead.
On my previous FlatButton widget, I was able to changed the splash color when on pressed. But now I'm using TextButton widg...
Chaotic asked 6/4, 2021 at 8:14
6
Solved
I'm trying to place a text countdown timer in the center of a CircularProgressIndicator. This is the code for the layout of the body:
return new Column(
mainAxisAlignment: MainAxisAlignment.space...
Bertolde asked 10/12, 2018 at 17:20
3
Solved
I have a dummy list of items
I want to show a floating action button in swip up direction and hide it in down direction.
how can I implement this functionality ?
class _MyHomePageState extends Sta...
Homer asked 10/8, 2019 at 8:47
41
Solved
I am trying to change the status bar color to white. I found this pub on flutter. I tried to use the example code on my dart files.
Hexagram asked 25/9, 2018 at 1:42
2
Is there a way to customise the Flutter tooltip to change colour and increase the padding/margins. The default seems to fill the width of the whole screen and there are no named parameters to confi...
Asserted asked 18/6, 2019 at 8:20
3
Solved
I have a widget A that I want to scale (pixel perfect). Depending on display width of the device, the size of A should be either increased or decreased. I tried the Transform.scale widget to change...
Subtrahend asked 5/5, 2020 at 15:27
8
Solved
Does anyone know how I can create an app bar with a multi-line title, as per the material guidelines show here?
https://material.io/design/components/app-bars-top.html#anatomy
Any ideas how to...
Ib asked 8/6, 2018 at 16:7
3
Solved
I am trying to add a Row inside of a list view and am getting the error
I/flutter (13858): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/fl...
Italianism asked 1/8, 2019 at 0:53
5
I have a TextFormField to collect user authentication input, and it's pretty fine.
But when it shows the validation message, this happens:
How can I change the position of the error message to th...
Delamare asked 12/9, 2020 at 15:9
2
Solved
I need a reliable way to get the dimensions of the screen.
I know MediaQuery.of(context), but it removes the bottom padding when the bottom UI item is visible.
Chatoyant asked 23/10, 2018 at 17:17
6
Solved
I need to find out a method to force Flutter Text widget to use two text lines space even if the line is only one.
For example in the below photo one card is lower than the other one due to the fac...
Keijo asked 24/6, 2020 at 18:27
3
I need to make Container edge circle and how to do that when i try RoundedRectangleBorder it showing error
Container(
width: 100,height: 100,
margin: EdgeInsets.all(10.0),
decoration: BoxDecor...
Contemporize asked 21/12, 2019 at 11:3
16
Solved
I've made a ListView in Flutter, but now I have some ListTiles in this ListView that can be selected. Upon selection, I want the background color to change to a color of my choice. I don't know how...
Hartz asked 17/3, 2018 at 1:24
10
Solved
What I'm trying to do is adding a bottom border of tabBar, so it will be under tabs title and above the indicatorColor and for both active and Inactive tabs, just like the attached image.
Red line...
Tailwind asked 2/8, 2019 at 20:39
4
so I am trying to recreate a UI template. This is the code. I'm trying to add another Horizontal GridView by calling RecentlyViewed() but upon reloading it cannot render. I don't know the way to re...
Matrilineage asked 28/5, 2020 at 14:21
4
Solved
By default Flutter shows all the radio buttons empty (unchecked).
How to set a radio button checked by default?
I'm posting this question to document my solution, that may help some one, and also...
Bethezel asked 19/2, 2019 at 20:6
22
Solved
How to make a line dash in Flutter like this?
Disassemble asked 3/1, 2019 at 9:48
© 2022 - 2024 — McMap. All rights reserved.