1. 05 Oct, 2017 1 commit
  2. 03 Oct, 2017 2 commits
  3. 02 Oct, 2017 1 commit
    • Adam Barth's avatar
      Add Alignment, which will replace FractionalOffset (#12342) · 2b126bcd
      Adam Barth authored
      Unlike FractionalOffset, Alignment uses the center as the zero of the
      coordinate system, which makes the RTL math work out much cleaner.
      
      Also, make FractionalOffset into a subclass of Alignment so that clients
      can continue to use FractionalOffset.
      2b126bcd
  4. 29 Sep, 2017 4 commits
    • Ian Hickson's avatar
    • Todd Volkert's avatar
      Move assert into constructor body. (#12331) · ada593e8
      Todd Volkert authored
      Temporary workaround to the fact that the Analyzer API
      doesn't have a way to turn on asserts in initializers, coupled
      with the fact that this file is being parsed by package:intl
      using the Analyzer API.
      ada593e8
    • Chris Bracken's avatar
      Improved behaviour for text-editing widgets (#12273) · 85c425ac
      Chris Bracken authored
      This patch fixes a collection of issues with widgets involved in text
      editing:
      
        * Fire widget.onChanged on EditableText value change:
          The value of an EditableText is composed of the text value as well
          as other editing-related data such as selection-related information.
      
          Previously, widget.onChanged() was only called for updates via
          updateEditingValue(). For pastes via a TextSelectionOverlay, updates
          are signalled via _handleSelectionOverlayChanged(), which only ever
          triggered widget.onSelectionChanged(), but not widget.onChanged().
      
          Both updateEditingValue() and _handleSelectionOverlayChanged()
          perform the value update via _formatAndSetValue(), which is where
          this patch moves the widget.onChanged() call.
      
        * Correctly update TextFormField value on edits via controller:
          The textual value of a TextFormField exists in two locations:
            1. FormField.value, as with all FormFields and subclasses.
            2. TextEditingController.value associated with the TextField
               underlying the TextFormField.
      
          Previously, edits to the TextEditingController associated with a
          TextFormField resulted in updates to the rendered TextField widget,
          but did not update TextFormField.value. FormField.value is updated
          via FormField's onChanged function, which is called from the
          EditableText underlying the TextField underlying the TextFormField.
          EditableText only fires onChanged when it receives changes from the
          engine. It does not fire onChanged for changes made to the
          underlying TextController, since the owner of the TextController is
          the one making these changes and thus, already aware of them.
          FormField, however, *does* need to listen to these changes to update
          its value.
      
        * Adds an initialValue parameter to the TextFormField constructor:
          FormField's constructor already takes an initialValue parameter,
          which specifies the initial value in the field, which is also the
          value to which reset() returns the field.
      
          Previously, TextFormField took its initial value from the controller
          value (if a controller was passed in) or the empty string (if not).
          This had the undesirable effect that calling reset() always resets
          the value to the current value of the controller... i.e., does
          nothing.
      
          We now take an initial value explicitly.
      85c425ac
    • Ian Hickson's avatar
      SafeArea (#12292) · 4c83ea8b
      Ian Hickson authored
      * SafeArea
      
      * AnimatedSafeArea
      
      * AppBar test
      
      * Apply feedback
      4c83ea8b
  5. 28 Sep, 2017 2 commits
  6. 27 Sep, 2017 2 commits
  7. 26 Sep, 2017 3 commits
  8. 24 Sep, 2017 3 commits
  9. 23 Sep, 2017 1 commit
  10. 22 Sep, 2017 5 commits
  11. 21 Sep, 2017 2 commits
    • Alexandre Ardhuin's avatar
      use bool in assert (#12170) · 2958d7d0
      Alexandre Ardhuin authored
      2958d7d0
    • xster's avatar
      Create a CupertinoTab to support parallel navigation trees in iOS (#12130) · f9e8da6d
      xster authored
      * Refactor CupertinoScaffold
      
      * Rename rootTabPageBuilder to tabBuilder
      
      * fix tab transparency padding
      
      * add a CupertinoTab
      
      * Add default background color
      
      * Add a bunch of examples
      
      * A bunch of tests
      
      * Refactor CupertinoScaffold
      
      * Rename rootTabPageBuilder to tabBuilder
      
      * fix tab transparency padding
      
      * Add default background color
      
      * review notes
      
      * fix test
      
      * review
      
      * Rename CupertinoTab to CupertinoTabView
      
      * remove final ; in sample code for analyzer
      f9e8da6d
  12. 20 Sep, 2017 2 commits
  13. 15 Sep, 2017 7 commits
  14. 14 Sep, 2017 4 commits
  15. 13 Sep, 2017 1 commit