We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I modify the image to text , How do it add Text padding? cardBuilder example :
cardBuilder: (context, index) => Card( margin: const EdgeInsets.only(top:1.0), child: Text('${welcomeImages[index]}'), ),
The text was updated successfully, but these errors were encountered:
wrap the Card() widget with a Padding() widget
Padding( padding: const EdgeInsets.only(top:1.0), Card( margin: const EdgeInsets.only(top:1.0), child: Text('${welcomeImages[index]}'), ), ),
Sorry, something went wrong.
@elias97850 thanks, I'm try it
Padding( padding: const EdgeInsets.only(top:20.0), child: Card( margin: const EdgeInsets.only(top:1.0), child: Text('${welcomeImages[index]}'), ), ),
No branches or pull requests
I modify the image to text , How do it add Text padding? cardBuilder example :
cardBuilder: (context, index) => Card(
margin: const EdgeInsets.only(top:1.0),
child: Text('${welcomeImages[index]}'),
),
The text was updated successfully, but these errors were encountered: