1. 01 Mar, 2019 4 commits
  2. 28 Feb, 2019 2 commits
    • Greg Spencer's avatar
      Fix spelling errors. (#28657) · ccdd5057
      Greg Spencer authored
      Fix the spelling errors in the dartdocs for the framework.
      
      There are no functionality changes here, just documentation fixes.
      ccdd5057
    • Shivam Bhasin's avatar
      Add Sample code for FlatButton #21136 (#27751) · 47c835fb
      Shivam Bhasin authored
      * Update flat_button.dart
      
      * Added smaple code for Flat Button
      
      * Update flat_button.dart
      
      * Revert "Update flat_button.dart"
      
      This reverts commit c8f00dff39e18b267295890bd0c5a86979b58c24.
      
      * Revert "Added smaple code for Flat Button"
      
      This reverts commit adc4234bc7956293a5b56f39701c6967fe3e919a.
      
      * Update flat_button.dart
      
      * Update flat_button.dart
      
      * Update flat_button.dart
      
      * remove white spaces
      
      * remove white spaces
      
      * add two different samples
      
      * Update flat_button.dart
      47c835fb
  3. 27 Feb, 2019 2 commits
  4. 26 Feb, 2019 2 commits
  5. 25 Feb, 2019 5 commits
  6. 23 Feb, 2019 1 commit
  7. 22 Feb, 2019 3 commits
  8. 21 Feb, 2019 1 commit
  9. 20 Feb, 2019 2 commits
  10. 15 Feb, 2019 3 commits
    • Hans Muller's avatar
    • Greg Spencer's avatar
      Remove remaining "## Sample code" segments, and fix the snippet generator. (#27793) · 262f12b4
      Greg Spencer authored
      This converts all remaining "## Sample code" segments into snippets, and fixes
      the snippet generator to handle multiple snippets in the same dartdoc block
      properly.
      
      I also generated, compiled, and ran each of the existing application samples,
      and fixed them up to be more useful and/or just run without errors.
      
      This PR fixes these problems with examples:
      
      1. Switching tabs in a snippet now works if there is more than one snippet in
         a single dartdoc block.
      2. Generation of snippet code now works if there is more than one snippet.
      3. Contrast of text and links in the code sample block has been improved to
         recommended levels.
      4. Added five new snippet templates, including a "freeform" template to make
         it possible to show examples that need to change the app instantiation.
      5. Fixed several examples to run properly, a couple by adding the "Scaffold"
         widget to the template, a couple by just fixing their code.
      6. Fixed visual look of some of the samples when they run by placing many
         samples inside of a Scaffold.
      7. In order to make it easier to run locally, changed the sample analyzer to
         remove the contents of the supplied temp directory before running, since
         having files that hang around is problematic (only a problem when running
         locally with the `--temp` argument).
      8. Added a `SampleCheckerException` class, and handle sample checking
         exceptions more gracefully.
      9. Deprecated the old "## Sample code" designation, and added enforcement for
         the deprecation.
      10. Removed unnecessary `new` from templates (although they never appeared in
         the samples thanks to dartfmt, but still).
      
      Fixes #26398
      Fixes #27411
      262f12b4
    • Anthony's avatar
      d1371cd2
  11. 13 Feb, 2019 1 commit
  12. 12 Feb, 2019 4 commits
    • xster's avatar
      892c8919
    • Jake Gough's avatar
      Added 'physics' prop to Stepper. (#26297) · dfce0a7f
      Jake Gough authored
      * Update stepper.dart
      
      Added 'physics' prop which allows the developer to assign the Stepper's scroll view's 'ScrollPhysics' which can solve with unwanted scrolling behaviour if the parent is also a scroll view. Defaults to 'AlwaysScrollableScrollPhysics' if null.
      
      * Update stepper.dart
      
      Removed unnecessary import and defaulting to 'AlwaysScrollableScrollPhysics' if physics prop is null.
      
      * Update stepper.dart
      
      Ran through format to remove unwanted whitespace which Analysis isn't happy about.
      
      * Update stepper.dart
      
      Tried reformatting again.
      
      * Update stepper.dart
      
      Tried reformatting again.
      
      * Update stepper.dart
      
      Formatting again why do you hate me github editor.
      
      * Update stepper.dart
      
      * Update stepper.dart
      
      if this format doesn't work i'll cry
      
      * Update stepper_test.dart
      
      Added Stepper scroll tests. One that fails to find Text after Stepper if physics left as null and one that succeeds if physics set to `ClampingScrollPhysics()`
      
      * Update stepper_test.dart
      
      Added const constructors
      
      * Update stepper_test.dart
      
      trying to get rid of whitespace again
      
      * Update stepper_test.dart
      
      * Update stepper_test.dart
      
      why whitespace why
      
      * Update stepper_test.dart
      
      * Update stepper_test.dart
      
      * Update stepper_test.dart
      
      * Update stepper_test.dart
      
      Swapped to `findsNothing` because I'm an idiot.
      
      * Update stepper_test.dart
      
      * Update stepper.dart
      dfce0a7f
    • rami-a's avatar
      [Material] Update the card demo in the Gallery to demonstrate different uses... · c348be97
      rami-a authored
      [Material] Update the card demo in the Gallery to demonstrate different uses of the Card widget (#27699)
      
      Additionally, this adds a tappable Card example to the Card documentation.
      c348be97
    • KyleWong's avatar
      Null check logic for datatable. (#27632) · cb2ac0a1
      KyleWong authored
      cb2ac0a1
  13. 11 Feb, 2019 2 commits
  14. 08 Feb, 2019 4 commits
  15. 07 Feb, 2019 1 commit
  16. 06 Feb, 2019 3 commits