• Qun Cheng's avatar
    Add `Card.filled` and `Card.outlined` factory methods (#136229) · 4a0f261b
    Qun Cheng authored
    Fixes #119401
    
    This PR is to:
    * add `Card.filled` and `Card.outlined` factory methods so that we can use tokens for these two types of cards to generate default theme instead of providing hard-corded values in example.
    * update card.2.dart example.
    * add test file for card.2.dart example.
    * fix some mismatch caused by editing the auto-generated defaults by hand in navigation_bar.dart and navigation_drawer.dart.
    4a0f261b
used_tokens.csv 45.7 KB