flutter-layout Questions

7

Solved

How can I draw semicircle like this? Code: class DrawHalfCircleClipper extends CustomClipper<Path> { @override Path getClip(Size size) { final Path path = new Path(); ... return path...
Ridgeling asked 1/9, 2019 at 18:21

7

Solved

I am calling this dialog while getting data from server. This dialog box is having white spaces around it. I can I remove this white space around my dialog box. Here is my code. var bodyProgress ...
Manzoni asked 18/6, 2018 at 8:41

8

Solved

today I am trying to make sticker.ly app UI in a flutter. But I stuck in adding space between underline and text. here is my code import 'package:flutter/material.dart'; class Home extends State...
Avocet asked 6/5, 2020 at 10:31

7

Solved

I want to change the background color of Popup Menu Button window. What should I do? I hope I can get your help. Thank you.When I change the color of container, some corners cannot change the color...
Eats asked 7/12, 2018 at 1:55

20

Solved

I want to apply background color for icon button but I don't see an explicit backgroundColor property for it. I want to achieve this: Currently I was able to achieve till here: Below is the c...
Tejeda asked 12/10, 2018 at 10:4

9

I want to display a simple disappearing error message above a button when certain conditions aren't met. It seems as if Flutter's Snackbar is well suited to this purpose. However, I'm having diff...
Lincoln asked 11/9, 2018 at 0:11

4

Solved

I just need the the label in my BottomNavigationBarItem's but I cant find a way to remove them. You can hide the labels with showSelectedLabels and showUnselectedLabels set to false but there are n...
Homebrew asked 5/2, 2020 at 15:51

8

Solved

A Stack contains MyWidget inside of a Positioned. Stack( overflow: Overflow.visible, children: [ Positioned( top: 0.0, left: 0.0, child: MyWidget(), )], ); Since overflow is Overflow.visi...
Eccrinology asked 16/7, 2018 at 16:59

15

Solved

I want to have a row of IconButtons, all next to each other, but there seems to be pretty big padding between the actual icon, and the IconButton limits. I've already set the padding on the button ...
Runaway asked 16/5, 2018 at 23:8

18

Solved

The main app screen doesn't have this issue, all the texts show up as they should. However, in the new screen, all the text widget have some weird yellow line / double-line underneath. Any ideas on...
Doan asked 4/11, 2017 at 19:19

8

Solved

I'm completely new to Flutter and found out about InkWell and GestureDetector. It seemed to me that they are almost the same. The official documentation doesn't provide any in-depth comparison betw...
Digestive asked 23/6, 2019 at 15:26

4

Solved

I have a multiline TextField with a prefixIcon, so now the Icon is in the center vertically and hint text is at top left. I want both of them to be aligned, either at the top or in the center verti...
Ellie asked 5/8, 2020 at 18:29

5

Solved

I'm honestly new to Flutter and developing. I have been trying to make buttons change colour on tapping for each; it does work, but I have this problem that the buttons take up all the horizontal s...
Deerskin asked 24/12, 2021 at 14:39

7

I am new to flutter and don't have much experience. I am trying to develop an android app using flutter and this is my previous app design. And I'm also able to successfully make grid view in flut...
Croquette asked 30/5, 2018 at 10:31

3

I am creating a WebView of this website https://nearxt.com/ which asks for location when opened but when i use this link to create a webview in flutter then it can not take location i have also def...

12

Solved

In iOS, we have a UITabBarController which stays permanently at the bottom of the screen when we push to a new ViewController. In Flutter, we have a bottomNavigationBar of a Scaffold. However, unl...
Abuse asked 3/4, 2018 at 11:5

3

Solved

There are two types of ScrollPhysics that I want to apply to my ListView. When user reaches the bottom of the List, I want BouncingScrollPhysics() to take place, but when user reaches the top, it s...
Alexiaalexin asked 19/10, 2019 at 14:58

2

Solved

I'm building my own material-like card with a box shadow. I want to have several of these combined in a PageView, so that I can swipe between cards - each Card should fill out the entire width of t...
Loathing asked 2/2, 2019 at 9:55

9

Solved

Hamburger icon color of navigation drawer is not changing. Its black by default. I want to change the this icon color in flutter, I am stuck, help me to change this icon color. here is my code. c...
Merrygoround asked 29/5, 2018 at 8:56

26

Solved

I want to know that how can I set a width to match parent layout width new Container( width: 200.0, padding: const EdgeInsets.only(top: 16.0), child: new RaisedButton( child: new Text( "S...
Afterbrain asked 25/4, 2018 at 5:1

3

I want to add asteric sign in InputDecoration labelText and change color(like red) of it so that user understand easily this field is required. TextField( autofocus: true, controller: _nameCtrlr...
Douai asked 2/8, 2019 at 5:57

29

Solved

I have a Column widget with two TextField widgets as children and I want to have some space between both of them. I already tried mainAxisAlignment: MainAxisAlignment.spaceAround, but the result w...
Jaymejaymee asked 12/10, 2018 at 8:0

6

Solved

This is the output that I want. I am still new in flutter so can anyone let me know if there is already a widget for this kind of switch or how should I make one ?? Also, I want the data shown bel...
Behah asked 8/8, 2020 at 9:58

4

Solved

I am trying to make a login / registration screens with a logo. I need them responsive, so the can fit most of mobile screens. For achieving that, I've used ListView. However, I just need to center...
Eadie asked 23/10, 2018 at 10:56

12

Solved

I'm struggling with centering a widget inside listView. I tried this, but Text('ABC') is not centered vertically. How can I achieve this? new Scaffold( appBar: new AppBar(), body: new ListView(...
Stewardson asked 25/10, 2018 at 14:8

© 2022 - 2024 — McMap. All rights reserved.