Questions tagged [flutter-card]
38 questions
1
vote
0 answers
How to display MySQL query results based on TextField value entered
I am fairly new to Flutter and would like to find out how to display MySQL query results based on the TextField value entered by user.
As I am new to Flutter I scraped bits and pieces from other Tutorials to try and achieve outcome .
Some help…

Garth
- 123
- 1
- 11
0
votes
1 answer
placeholders take up more height than they should
What can I do to make placeholders the same size as the image? Without placeholders Card is the same size as the image, so I think that the problem is with the placeholder
Screenshot
Widget build(BuildContext context) {
return Scaffold(
body:…

Тимофей
- 1
0
votes
1 answer
Flutter: Images not filling the entire Card widget
I'm currently working on a Flutter project where I load images from a network into a Card widget. However, I'm facing an issue where the images are not filling the entire Card, leaving a significant amount of white space on the sides. This happens…

cipano
- 107
- 1
- 8
0
votes
1 answer
Stack of Cards Shuffle By Swiping In Flutter
How to make a card stack component that you can swipe through and has the cards move to the front or the back depending on which direction you are swiping…

Sekar
- 11
- 2
0
votes
1 answer
Flutter Card child content height is larger than its parent
I'm trying to use a GridView to handle displays for multiple Card, each Card contains of an Image. Unfortunately it turns out that the Image is taking a larger height than its parent (see attached picture for the details).
I'm pretty new to Flutter…

Vinh Truong
- 388
- 1
- 10
0
votes
1 answer
How add one CircularProgressIndicator to my image in one card
Card buildCard() {
var heading = 'Existence';
var subheading = '11/11/2022';
var cardImage = CachedNetworkImage(
imageUrl: "https://source.unsplash.com/random/800x600?existence",
imageBuilder: (context, imageProvider) => Container(
…

Medivh
- 3
- 2
0
votes
2 answers
Put text in background of a Card in Flutter
My goal would simply be to put text with a fixed size as the background of a Card in Flutter (with possible overflow).
I have tried to put the background text the Stack() widget, behind the foreground text. However it also enlarge the parent…

Ryu Roman
- 43
- 1
- 6
0
votes
1 answer
How to move the position of the cards from right to bottom
I have a list of cards to display and i have used a package card_selector: ^0.1.0, but i want to change the UI. I want to display the remaining cards below as shown in the image. I tried and i couldn't able to achieve this.
Below i have attached the…

Elam
- 413
- 6
- 19
0
votes
1 answer
IconButton onPressed not working | InkWell onTap not working | Flutter
So I've seen this weird behaviour in flutter and that is when I'm using a SvgPicture as a child widget to IconButton or InkWell.
I've this card which has two parts separated by a divider. First part is a TextWidget which shows the card name and the…

Divyam Dhadwal
- 395
- 3
- 19
0
votes
2 answers
ListTile with rectangle image and text
Newbie to Flutter. I want to design screen like below. I am using ListTile but it not allowing me to add multiple text. Help would be appreciated.
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
…

spaleja
- 1,435
- 15
- 24
0
votes
1 answer
Card widget gives error when I use fluter_stripe payment method in same page
I am using flutter_stripe lib for integrating the Stripe payment method but it gives an error when I use Card widget with this lib.
My error is given as:
"The name 'Card' is defined in the libraries 'package:flutter/src/material/card.dart (via…

Muhammad Umair Saqib
- 1,287
- 1
- 9
- 20
0
votes
1 answer
how to select ,deselect and disable items?
I have cards in my app and each card has 4 items with grey color, if the item is selected then its color change to blue and the same item in other cards should disable am unable to do that using maps collection. So I have items like IT, DEV, TEST,…

shanmkha
- 416
- 1
- 8
- 27
0
votes
1 answer
How to set TextFormFields and Controllers in dynamics Cards using Listview builder
I am trying to build each Card with textformfields when the button is pressed, until it reaches some limit like 10 cards only, So when I pressed the floating button, Card is adding but text in textformfields is erasing for every press. Can anyone…

shanmkha
- 416
- 1
- 8
- 27
0
votes
2 answers
Flutter card layout and design
So I'm trying to create an expandable card. But the problem is, I don't even know how to start with the design.
So I'm trying to achieve this output
And this is my current progress
I tried putting two containers in a column, but it just doesn't…

Nzo
- 17
- 8
0
votes
1 answer
Flutter Card Contents Not Displaying
Good day!
So I'm fairly new to flutter, so I have a little to no idea how to layout several widgets, let alone several widgets inside a card.
So I want to come up with this kind of output [1]: https://i.stack.imgur.com/EpquW.png
But when I try to…

Nzo
- 17
- 8