1. 27 Oct, 2023 1 commit
    • Todd Volkert's avatar
      Add ConstrainedLayoutBuilder.updateShouldRebuild() (#136691) · 37da62a6
      Todd Volkert authored
      This method controls whether the builder needs to be called again again even if the layout constraints are the same.
      
      By default, the builder will always be called when the widget is updated because the logic in the callback might have changed. However, there are cases where subclasses of ConstrainedLayoutBuilder know that certain property updates only affect paint and not build. In these cases, we lack a way of expressing that the builder callback is not needed -- and we end up doing superfluous work.
      
      This PR gives subclasses the ability to know exactly when the callback needs to be called and when it can be skipped.
      37da62a6
  2. 13 Sep, 2023 1 commit
  3. 31 May, 2022 1 commit
  4. 14 Apr, 2022 1 commit
  5. 28 Apr, 2021 1 commit
  6. 21 Apr, 2021 1 commit
  7. 26 Jan, 2021 1 commit
  8. 21 Nov, 2020 1 commit
  9. 15 Oct, 2020 1 commit
  10. 11 Jun, 2020 2 commits
  11. 08 May, 2020 1 commit
  12. 27 Nov, 2019 1 commit
    • Ian Hickson's avatar
      License update (#45373) · 449f4a66
      Ian Hickson authored
      * Update project.pbxproj files to say Flutter rather than Chromium
      
      Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
      
      * Update the copyright notice checker to require a standard notice on all files
      
      * Update copyrights on Dart files. (This was a mechanical commit.)
      
      * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
      
      Some were already marked "The Flutter Authors", not clear why. Their
      dates have been normalized. Some were missing the blank line after the
      license. Some were randomly different in trivial ways for no apparent
      reason (e.g. missing the trailing period).
      
      * Clean up the copyrights in non-Dart files. (Manual edits.)
      
      Also, make sure templates don't have copyrights.
      
      * Fix some more ORGANIZATIONNAMEs
      449f4a66
  13. 24 Oct, 2019 2 commits
  14. 30 Sep, 2019 1 commit
  15. 24 Sep, 2019 1 commit
  16. 26 Jul, 2019 1 commit
  17. 01 Mar, 2019 1 commit
    • Alexandre Ardhuin's avatar
      Add missing trailing commas (#28673) · 387f8854
      Alexandre Ardhuin authored
      * add trailing commas on list/map/parameters
      
      * add trailing commas on Invocation with nb of arg>1
      
      * add commas for widget containing widgets
      
      * add trailing commas if instantiation contains trailing comma
      
      * revert bad change
      387f8854
  18. 12 Sep, 2018 1 commit
  19. 02 Aug, 2018 1 commit
  20. 27 Jul, 2018 1 commit
  21. 23 Jul, 2018 1 commit
  22. 16 Jul, 2018 2 commits
  23. 04 Mar, 2017 1 commit
  24. 09 Dec, 2016 1 commit
  25. 07 Nov, 2016 1 commit
  26. 15 Jun, 2016 1 commit
  27. 23 May, 2016 1 commit
  28. 16 May, 2016 1 commit
    • Ian Hickson's avatar
      Make it possible to run tests live on a device (#3936) · 32527017
      Ian Hickson authored
      This makes it possible to substitute 'flutter run' for 'flutter test'
      and actually watch a test run on a device.
      
      For any test that depends on flutter_test:
      
      1. Remove any import of 'package:test/test.dart'.
      
      2. Replace `testWidgets('...', (WidgetTester tester) {`
            with `testWidgets('...', (WidgetTester tester) async {`
      
      3. Add an "await" in front of calls to any of the following:
          * tap()
          * tapAt()
          * fling()
          * flingFrom()
          * scroll()
          * scrollAt()
          * pump()
          * pumpWidget()
      
      4. Replace any calls to `tester.flushMicrotasks()` with calls to
         `await tester.idle()`.
      
      There's a guarding API that you can use, if you have particularly
      complicated tests, to get better error messages. Search for
      TestAsyncUtils.
      32527017
  29. 03 May, 2016 1 commit