Questions tagged [flutter-card]
38 questions
0
votes
1 answer
Flutter named paramter is not defined for Card widget
I'm trying to create a reusable Card widget to use in other dart files throughout my app.
I keep getting a named parameter is not defined error. What could the problem be here?
Things I've already tried:
Reinstalling the flutter SDK.
Running…

jaimish11
- 536
- 4
- 15
0
votes
2 answers
How do I share a Card in Flutter?
I have a flutter app that is using Cards (within a container). The cards have motivational quotes in them.
The quotes are generated from a database.
We want to have the ability for a user to share that motivational quote with their friends (via…

houba
- 496
- 7
- 20
0
votes
1 answer
How to Pass Data to Card list in flutter through constructor ? I have Tried these things, result and want is attached
How to achieve this kind of format ? i am really confused how to do in flutter?
This is the result what i have acheived so far enter image description here.
and
This is what i actually looking for enter image description here
, where i can add…

Anser Butt
- 11
- 4
0
votes
2 answers
How to create card view with text in front of the image in flutter?
I have spent a couple hours just to create a reusable widget in flutter. My expected result is gonna be like this:
but I'm stuck to fill the opacity width depending on it's parent like this:
here's the code I've tried:
Stack(
children:…

flix
- 1,688
- 3
- 34
- 64
-1
votes
2 answers
How to know what values to give to a property of a class in flutter?
import 'package:flutter/material.dart';
class test extends StatelessWidget{
@override
Widget build(BuildContext context) {
return Card(
shape: //??? how to know what value to give?
);
}
}
I'm new to the Flutter development…

Ashish Kumar
- 69
- 8
-1
votes
1 answer
Flutter: Using index of an item in a list in the same Widget
Hope you’re safe and doing great.
Okay so my problem is that I want to use the index of the cardBuilder
cardBuilder: (context, index) => Card(
In the swipeUpdateCallback, I wanna use it when I swipe to the right or to the left, How can I do that?…

l2dev
- 45
- 4
-1
votes
1 answer
How can i remove space around the card in flutter
In this screenshot there is space around card and i tried many ways but i am not able to remove it, anybody please help.
Here is my code
class StepOneView extends StatefulWidget {
StepOneView({Key key}) : super(key: key);
@override
…
user9716988
-1
votes
1 answer
Is it possible to make two cards one below the other?
I have a question: I need two cards one below the other. I´ve tried it with the code bellow, but the second "child" from the container is red underliend and I as a beginner don't know why. And yes I know, child is only one and children are more than…

simi
- 323
- 4
- 12