Flutter教程

ion-card-subtitle

概要(CONTENTS)

Ionic4项目中我们可以使用Ionic4卡片组件ion-card-subtitle对项目进行布局。

ion-card-subtitle官方文档地址:https://ionicframework.com/docs/api/card-subtitle

ion-card-subtitle is a child component of ion-card

ion-card-subtitle 属性(Properties)

color

Description

The color to use from your application's color palette. Default options are: "primary", "secondary", "tertiary", "success", "warning", "danger", "light", "medium", and "dark". For more information on colors, see theming.

Attribute color
Type string | undefined

mode

Description

The mode determines which platform styles to use.

Attribute mode
Type "ios" | "md"

ion-card-subtitle中的CSS 自定义属性

Name Description
--color Color of the card subtitle