flutter/examples/api/lib
Qun Cheng 4a0f261b4e
Add Card.filled and Card.outlined factory methods (#136229)
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.
2023-11-01 23:29:49 +00:00
..
animation/curves Rename Sample classes (#124080) 2023-04-04 20:34:29 +00:00
cupertino Rename Sample classes (#124080) 2023-04-04 20:34:29 +00:00
gestures Add an example for TapAndPanGestureRecognizer (#131873) 2023-08-09 19:59:03 +00:00
material Add Card.filled and Card.outlined factory methods (#136229) 2023-11-01 23:29:49 +00:00
painting [flutter roll] Revert "LinkedText (Linkify)" (#134955) 2023-09-18 19:49:10 +00:00
rendering An example of parentData usage. (#131818) 2023-08-10 19:40:06 +00:00
sample_templates Rename Sample classes (#124080) 2023-04-04 20:34:29 +00:00
services Change some usage of RawKeyEvent to KeyEvent in preparation for deprecation (#136420) 2023-10-14 00:25:18 +00:00
ui/text Rename Sample classes (#124080) 2023-04-04 20:34:29 +00:00
widgets Add findChildIndexCallback examples (#133469) 2023-10-18 00:26:17 +00:00