Skip to content

Add factory constructors for filled and outlined cards #119401

@guplem

Description

@guplem

Use case

Being able to create all types of M3 cards with a simple constructor.

Proposal

A constructor/factory like Card.outlined and Card.filled should exist apart from the default Card constructor (which should probably be the elevated card).

This should be part of the M3 implementation in flutter

Metadata

Metadata

Assignees

Labels

Bot is counting down the days until it unassigns the issuec: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions