1. 09 Dec, 2016 1 commit
  2. 01 Dec, 2016 1 commit
  3. 22 Nov, 2016 1 commit
    • Adam Barth's avatar
      Rename Flexible to Expanded and improve docs (#6978) · 8ca4caa4
      Adam Barth authored
      This patch replaces uses of Flexible with Expanded where we're using
      FlexFit.tight. We still need to think of a better name for the
      FlexFit.loose variant.
      
      Also, improve the docs for Row, Column, Flex, and RenderFlex to be more
      problem-oriented and to give a complete account of the layout algorithn.
      
      Fixes #6960
      Fixes #5169
      8ca4caa4
  4. 19 Nov, 2016 1 commit
  5. 23 Oct, 2016 1 commit
  6. 16 Sep, 2016 1 commit
  7. 21 Jun, 2016 1 commit
    • Ian Hickson's avatar
      ImageIcon (#4649) · e502e9c8
      Ian Hickson authored
      Anywhere that accepted IconData now accepts either an Icon or an
      ImageIcon.
      
      Places that used to take an IconData in an `icon` argument, notably
      IconButton and DrawerItem, now take a Widget in that slot. You can wrap
      the value that used to be passed in in an Icon constructor to get the
      same result.
      
      Icon itself now takes the icon as a positional argument, for brevity.
      
      ThemeData now has an iconTheme as well as a primaryIconTheme, the same
      way it has had a textTheme and primaryTextTheme for a while.
      
      IconTheme.of() always returns a value now (though that value itself may
      have nulls in it). It defaults to the ThemeData.iconTheme.
      
      IconThemeData.fallback() is a new method that returns an icon theme data
      structure with all fields filled in.
      
      IconTheme.merge() is a new constructor that takes a context and creates
      a widget that mixes in the new values with the inherited values.
      
      Most places that introduced an IconTheme widget now use IconTheme.merge.
      
      IconThemeData.merge and IconThemeData.copyWith act in a way analogous to
      the similarly-named members of TextStyle.
      
      ImageIcon is introduced. It acts like Icon but takes an ImageProvider
      instead of an IconData.
      
      Also: Fix the analyzer to actually check the stocks app.
      e502e9c8
  8. 09 Jun, 2016 1 commit
  9. 07 Jun, 2016 1 commit
    • Ian Hickson's avatar
      Provide UI to paginate PaginatedDataTable (#4382) · 68f92d4f
      Ian Hickson authored
      Also:
      * Make PaginatedDataTable able to scroll itself horizontally.
      * Make drop down buttons support having an explicit text style and icon
        size given.
      * Fix a bug with drop-down buttons asserting when opened partly
        off-screen.
      * Make sure to pop the drop-down button's route if the drop-down button
        is discarded while the route is up.
      * Remove extraneous padding on drop-down buttons. (Couldn't figure out
        why it was there, and it breaks alignment when a drop-down is mixed
        with other text.)
      * Some docs improvements.
      * Add Route.isActive
      * Add a setState() method to ModalRoutes.
      68f92d4f
  10. 01 Jun, 2016 1 commit
    • Ian Hickson's avatar
      PaginatedDataTable (part 1) (#4306) · 0618da7c
      Ian Hickson authored
      This introduces the key parts of a paginated data table, not including
      the built-in pagination features.
      
      * Provide more data for the data table demo, so there's data to page.
      
      * Introduce a ChangeNotifier class which abstracts out
        addListener/removeListener/notifyListeners. We might be able to use
        this to simplify existing classes as well, though this patch doesn't
        do that.
      
      * Introduce DataTableSource, a delegate for getting data for data
        tables. This will also be used by ScrollingDataTable in due course.
      
      * Introduce PaginatedDataTable, a widget that wraps DataTable and only
        shows N rows at a time, fed by a DataTableSource.
      0618da7c