Flutter教程

ion-card-title

概要(CONTENTS)

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

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

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

ion-card-title 属性(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-title中的CSS 自定义属性

Name Description
--color Color of the card title