1. 09 Mar, 2016 1 commit
    • Adam Barth's avatar
      Remove //examples/widgets · e4b1eab8
      Adam Barth authored
      Most of the remaining widget examples are actually manual tests. This patch
      moves them into //dev/manual_tests. A couple are examples of using services,
      which I've moved to //examples/layers/services. The remainder are out-dated and
      are removed by this patch.
      e4b1eab8
  2. 08 Mar, 2016 1 commit
  3. 07 Mar, 2016 1 commit
  4. 03 Mar, 2016 1 commit
  5. 02 Mar, 2016 4 commits
    • Adam Barth's avatar
      Fix analyzer warning · 3d2e46ac
      Adam Barth authored
      3d2e46ac
    • Adam Barth's avatar
      Remove IconThemeColor · bfc39aa8
      Adam Barth authored
      This enum doesn't make sense anymore now that we can arbitrarily colorize
      icons.  Instead, we just use a Color, which is both simpler and can be
      interpolated during animations.
      
      Fixes #1279
      bfc39aa8
    • Adam Barth's avatar
      Switch Material Design icons to using the iconfont · 870894fc
      Adam Barth authored
      Rather than managing all the Material Design icons manually, we now
      manage them using an icon font. The icon font contains glyphs for each
      icon in an efficient vector format.
      
      This patch updates the FLX tooling to include the MaterialIcons font and
      updates the Icon widget to use the font instead of asset images.
      
      Fixes #2313
      Fixes #2218
      Fixes #2009
      Fixes #994
      870894fc
    • Hans Muller's avatar
      Added menu dividers · d8eaac42
      Hans Muller authored
      d8eaac42
  6. 22 Feb, 2016 1 commit
    • Adam Barth's avatar
      Remove ThemeData.primarySwatch · 2c2fa238
      Adam Barth authored
      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
      2c2fa238
  7. 12 Feb, 2016 1 commit
    • Hixie's avatar
      SizeObserver crusade: snap alignment · fd7be69d
      Hixie authored
      Remove the SizeObserver you need to use snap alignment in lists by
      having the lists provide the size themselves in the callback.
      
      Also, remove snapAlignmentOffset since we couldn't figure out how to
      explain it and it's not really needed.
      fd7be69d
  8. 11 Feb, 2016 2 commits
    • Jason Simmons's avatar
    • Ian Hickson's avatar
      Clean up imports and exports. · a94999ba
      Ian Hickson authored
      Each layer is supposed to reexport the parts of the previous layer
      that are part of its API.
      
      - In painting.dart, export from dart:ui all the Canvas-related APIs
        that make sense to be used at higher levels, e.g. PaintingStyle.
      
      - Delete painting/shadows.dart. It was dead code.
      
      - In rendering/object.dart, export all of painting.dart.
      
      - In widgets/basic.dart, export all of painting.dart and
        animation.dart. Some classes in animation/ are renamed to make this
        less disruptive and confusing to the namespace.
      
      - Split out Stocks back into an import model rather than a part model,
        so that it's easier to manage its dependencies on a per-file basis.
      
      - Move Ticker to scheduler library.
      
      - Remove as many redundant imports as possible now.
      
      - Some minor nit picking cleanup in various files.
      a94999ba
  9. 03 Feb, 2016 1 commit
  10. 22 Jan, 2016 1 commit
  11. 12 Jan, 2016 1 commit
  12. 11 Jan, 2016 1 commit
  13. 06 Jan, 2016 2 commits
  14. 09 Dec, 2015 1 commit
  15. 04 Dec, 2015 1 commit
  16. 03 Dec, 2015 1 commit
    • Adam Barth's avatar
      Fix a large number of Drawer bugs · 1d195cb9
      Adam Barth authored
      This patch restructures how we handle drawer. The drawer is now a child of the
      Scaffold, which wraps the Drawer in a DrawerController. The DrawerController
      manages the interaction with the navigator as well as the edge swiping. The
      DrawerController's state machine is driven almost entirely off its Performance,
      which it now owns completely.
      
      Fixes #90
      Fixes #187
      Fixes #192
      Fixes #194
      Fixes #604
      1d195cb9
  17. 12 Nov, 2015 1 commit
  18. 03 Nov, 2015 3 commits
  19. 01 Nov, 2015 1 commit
  20. 28 Oct, 2015 2 commits
    • Hixie's avatar
      Fix crash when removing a card in card_collection · a8a32a97
      Hixie authored
      MixedViewport didn't use the building:true flag when locking itself, so
      when it caused a rebuild of its children, we assumed that nobody was
      allowed to mark things dirty below the list, and things crashed when
      Inherited people did in fact rebuild.
      
      Also:
       - default offset for MixedViewport
       - don't bother rebuilding if the underlying RenderObject is going to
         rebuild anyway for some reason
       - better docs for the "items must have keys" assert
       - keep the FlipComponent stuff together in test_widgets.dart
      a8a32a97
    • Adam Barth's avatar
      Icon should use an enum rather than an int for size · eeea4ab7
      Adam Barth authored
      Material design icons are defined to work at specific sizes: 18, 24, 36, 48.
      The current API doesn't reflect that and just takes a size int. If an invalid
      size is chosen an error is printed to the console and no icon shows up.
      
      Fixes #1816
      eeea4ab7
  21. 27 Oct, 2015 1 commit
    • Hixie's avatar
      Use the presence of handler to determine 'enabled' · d11acc41
      Hixie authored
      Instread of an explicit 'enabled' bool, this uses the presence of the
      event handler to determine if a widget is enabled or not. This means
      that if you've not passed a handler, your widget will be disabled, which
      makes sense, since it wouldn't work anyway.
      
      Adds this feature to checkbox, and ports raised button, flat button, and
      radio buttons to this new model.
      
      Adds a checkbox to card_collection that can be disabled.
      
      Hide a (basically bogus) hint from the (soon to be disabled) strong hint
      mode in the analyzer that this reveals.
      d11acc41
  22. 26 Oct, 2015 2 commits
    • Hixie's avatar
      Radio button 'disabled' state. · c87e9670
      Hixie authored
      Also:
       - give card_collection an option to turn on or off the edit widgets
       - give card_collection an option to control text alignment (when not editing)
       - give card_collection a "dump" option to aid debugging
       - make the gesture detector report which gestures it is listening to
      c87e9670
    • Hixie's avatar
      Radio<T> and ValueChanged<T> · b1dbf452
      Hixie authored
      Make Radio widgets take a type that describes the type of their value,
      so that you can catch when you use the wrong value.
      
      Standardise on ValueChanged<Foo> instead of having a FooValueChanged
      for every value of Foo.
      b1dbf452
  23. 24 Oct, 2015 1 commit
    • Hixie's avatar
      Strong modeify the examples · a6c473ea
      Hixie authored
      This makes skyanalyzer also check the examples, and fixes everything it
      found there.
      a6c473ea
  24. 22 Oct, 2015 1 commit
    • Adam Barth's avatar
      Add Navigator.of · de395582
      Adam Barth authored
      Now you don't need to pass the navigator around everywhere.
      de395582
  25. 20 Oct, 2015 1 commit
  26. 19 Oct, 2015 1 commit
  27. 10 Oct, 2015 3 commits
  28. 09 Oct, 2015 2 commits