Remove ThemeData.primarySwatch

In the dark theme, there isn't really a primary swatch, so this API was
a sandtrap. Instead, be explicit about the colors we need for various
widgets in the theme.

Fixes #1277
6 files changed
tree: 524068dc1e1bd4dee2d5808e18283762e6a6e21b
  1. bin/
  2. dev/
  3. doc/
  4. examples/
  5. infra/
  6. packages/
  7. travis/
  8. .travis.yml
  9. AUTHORS
  10. CONTRIBUTING.md
  11. ISSUE_TEMPLATE.md
  12. LICENSE
  13. README.md
README.md

Flutter

Build Status

Flutter is a new way to build high-performance, cross-platform mobile apps. Flutter is optimized for today‘s, and tomorrow’s, mobile devices. We are focused on low-latency input and high frame rates on Android and iOS.

Flutter is an early-stage open-source project. We are still missing core features like accessibility, text input, localization, and more. However, you can build demos and examples today. We hope you try it out and send us feedback.

Community

Join us on IRC at #flutter on Freenode or join our mailing list, flutter-dev@googlegroups.com.