• 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
Name
Last commit
Last update
..
test Loading commit data...
README.md Loading commit data...
accept_android_sdk_licenses.sh Loading commit data...
allowlist.dart Loading commit data...
analysis_options.yaml Loading commit data...
analyze.dart Loading commit data...
analyze_snippet_code.dart Loading commit data...
browser.dart Loading commit data...
check_code_samples.dart Loading commit data...
codelabs_build_test.sh Loading commit data...
docs.sh Loading commit data...
post_process_docs.dart Loading commit data...
prepare_package.dart Loading commit data...
pubspec.yaml Loading commit data...
run_command.dart Loading commit data...
service_worker_test.dart Loading commit data...
serviceaccount.enc Loading commit data...
test.dart Loading commit data...
tool_subsharding.dart Loading commit data...
unpublish_package.dart Loading commit data...
utils.dart Loading commit data...