1. 30 Oct, 2018 1 commit
    • Ian Hickson's avatar
      Allow ChangeNotifier to be mixed in again (#23631) · c319b890
      Ian Hickson authored
      Luckily this class didn't actually need to extend its superclass, it
      only implements the interface. So we can change `extends` to
      `implements` and that's close enough, while allowing the class to be
      mixed in again.
      c319b890
  2. 27 Oct, 2018 1 commit
  3. 12 Sep, 2018 1 commit
  4. 01 Mar, 2018 1 commit
  5. 19 Jan, 2018 1 commit
  6. 17 Nov, 2017 1 commit
    • Greg Spencer's avatar
      Fix spelling errors in all the dartdocs. (#13061) · 0259be90
      Greg Spencer authored
      I got tired of drive-by spelling fixes, so I figured I'd just take care of them all at once.
      
      This only corrects errors in the dartdocs, not regular comments, and I skipped any sample code in the dartdocs. It doesn't touch any identifiers in the dartdocs either. No code changes, just comments.
      0259be90
  7. 21 Sep, 2017 1 commit
  8. 03 Aug, 2017 1 commit
  9. 21 Jun, 2017 3 commits
  10. 09 Jun, 2017 1 commit
  11. 24 May, 2017 1 commit
  12. 13 Apr, 2017 1 commit
  13. 06 Apr, 2017 1 commit
  14. 02 Apr, 2017 1 commit
    • Adam Barth's avatar
      Rationalize text input widgets (#9119) · ae899486
      Adam Barth authored
      After this patch, there are three major text input widgets:
      
       * EditableText. This widget is a low-level editing control that
         interacts with the IME and displays a blinking cursor.
      
       * TextField. This widget is a Material Design text field, with all the
         bells and whistles. It is highly configurable and can be reduced down
         to a fairly simple control by setting its `decoration` property to
         null.
      
       * TextFormField. This widget is a FormField that wraps a TextField.
      
      This patch also replaces the InputValue data model for these widgets
      with a Listenable TextEditingController, which is much more flexible.
      
      Fixes #7031
      ae899486
  15. 31 Mar, 2017 1 commit
  16. 29 Mar, 2017 1 commit
  17. 06 Mar, 2017 1 commit
  18. 28 Feb, 2017 1 commit
    • Adam Barth's avatar
      Add ValueNotifier (#8463) · 9a83659d
      Adam Barth authored
      It's common to have a ChangeNotifier that wraps a single value. This class
      makes that easy by providing a generic implementation.
      9a83659d
  19. 30 Jan, 2017 1 commit
  20. 20 Jan, 2017 1 commit
    • Adam Barth's avatar
      Strengthen animation listener iteration patterns (#7566) · 0f1d9775
      Adam Barth authored
      This patch aligns the iteration patterns used by animations and
      ChangeNotifier. They now both respect re-entrant removal of listeners
      and coalesce duplication registrations. (Also, ChangeNotifier
      notification is no longer N^2).
      
      This patch introduces ObserverList to avoid the performance regression that the
      previous version of this patch caused.
      
      Fixes #7533
      0f1d9775
  21. 19 Jan, 2017 2 commits
  22. 17 Jan, 2017 1 commit
  23. 05 Jan, 2017 1 commit
  24. 15 Dec, 2016 1 commit
    • Ian Hickson's avatar
      Listenable.merge (#7256) · 977a25f2
      Ian Hickson authored
      Sometimes you have several listenables, but you want to hand them to an
      API (e.g. CustomPainter) that only expects one.
      977a25f2
  25. 15 Sep, 2016 1 commit
  26. 24 Jun, 2016 1 commit
  27. 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