1. 08 Apr, 2019 4 commits
    • Todd Volkert's avatar
      Add `const Border.uniform()` (#30640) · 0b8403b6
      Todd Volkert authored
      `Border.all()` is a factory constructor and thus not const
      constructible. This change adds a `const Border.uniform()`
      constructor and makes `Border.all()` delegate to it. This allows
      callers to more likely be able to make their widget tree const
      constructible.
      0b8403b6
    • Todd Volkert's avatar
      Add Form.onSaved (#30643) · 949023b2
      Todd Volkert authored
      When submitting data to a server, callers need a callback that will
      get invoked after all the individual form fields are saved. If they
      have a button that submits the form, they could just do this logic
      in the click handler for the button (save the form, then submit to
      the server), but if they have more ways than one to submit the form
      (i.e. hitting enter while in a text form field), then it becomes
      more convoluted and calls for a unified callback that will get
      notified when the form is submitted.
      949023b2
    • Todd Volkert's avatar
      Make FormField._validate() return void (#30644) · cb78274c
      Todd Volkert authored
      None of its callers were using the return value, so no need to
      invoke the `isValid` getter unnecessarily.
      cb78274c
    • Todd Volkert's avatar
      Add docs to FormFieldValidator (#30645) · 535523db
      Todd Volkert authored
      To describe what its return value represents
      535523db
  2. 07 Apr, 2019 2 commits
  3. 06 Apr, 2019 3 commits
  4. 05 Apr, 2019 17 commits
  5. 04 Apr, 2019 14 commits