Card Example

In this example, we will create a card widget that shows the album information and two actions named Play and Pause. Create a project in the IDE, open the main.dart file and replace it with the following code. Output: When we run this app, it will show the UI of the screen as below screenshot.

Published
Categorized as 5. Card

Flutter Card Properties

We can customize the card using the properties. Some of the essential properties are given below: Attribute Name Descriptions borderOnForeground It is used to paint the border in front of a child. By default, it is true. If it is false, it painted the border behind the child. color It is used to color the… Continue reading Flutter Card Properties

Published
Categorized as 5. Card

Flutter Card

A card is a sheet used to represent the information related to each other, such as an album, a geographical location, contact details, etc. A card in Flutter is in rounded corner shape and has a shadow. We mainly used it to store the content and action of a single object. In this article, we are… Continue reading Flutter Card

Published
Categorized as 5. Card