1. 15 Sep, 2020 1 commit
    • Alexandre Ardhuin's avatar
      Reland "Nnbd widgets" (#65528) · b007a81a
      Alexandre Ardhuin authored
      * Reland "Nnbd widgets (#64672)"
      
      This reverts commit 127e6790.
      
      * remove non-nullable enforcement on AsyncSnapshot
      
      * make data param non-nullable for AsyncSnapshot.withData
      
      * make some Text params non-nullable
      b007a81a
  2. 09 Sep, 2020 2 commits
    • Michael Goderbauer's avatar
      Revert "Nnbd widgets (#64672)" (#65488) · 127e6790
      Michael Goderbauer authored
      This reverts commit e682ec71.
      127e6790
    • Alexandre Ardhuin's avatar
      Nnbd widgets (#64672) · e682ec71
      Alexandre Ardhuin authored
      * migrate widget to nullsafety
      
      * remove double blank line after license
      
      * address review comments in actions.dart
      
      * nullable ObjectKey.value
      
      * use local variable oldElement
      
      * make State.build non-nullable
      
      * make State.context non-nullable
      
      * newline at eof
      
      * make ProxyWidget.child non-nullable
      
      * make _InactiveElements.debugContains non-nullable
      
      * make Element.depth non-nullable
      
      * make ProxyElement.build non-nullable
      
      * make StatefulElement.state non-nullable
      
      * remove 'Notice that'
      
      * avoid cast of list in RenderObjectElement.updateChildren
      
      * make IndexedSlot.value non-nullable
      
      * avoid cast of list in MultiChildRenderObjectElement.mount
      
      * make some WidgetsApp parameters non-nullable
      
      * hitTest take non-nullable position
      
      * make ScrollableState.position non-nullable
      
      * use _pixels instead of pixels
      
      * make ViewportOffset.pixels non-nullable
      
      * make param and return type of IndexedWidgetBuilder non-nullable
      
      * unused_import
      
      * make context param non-nullable for Builder in animated_list.dart
      
      * make ScrollMetrics.viewportDimension non-nullable
      
      * make ScrollMetrics.{min,max}ScrollExtent non-nullable
      
      * make _Location.file non-nullable
      
      * _WidgetForTypeTests.createElement throw UnimplementedError
      
      * update _NullWidget.build error message
      
      * make _ShortcutsState.manager non-nullable
      
      * Fix childCount issues for NNBD
      
      * fix childCount computation on web
      
      * increase max value on js side to compute childCount
      
      * make aspect parameter of dependOnInheritedWidgetOfExactType nullable
      
      * merge has{min,max}ScrollExtent into hasScrollExtents
      
      * update focus_manager.dart
      
      * address review comments in icon.dart
      
      * address review comments in image.dart
      
      * address review comments in routes.dart
      
      * address review comments in scroll_activity.dart
      
      * update doc comments
      
      * make UserScrollNotification.direction non-nullable and required
      
      * rename hasScrollExtents to hasContentDimensions
      
      * unnecessary late
      Co-authored-by: 's avatarIan Hickson <ian@hixie.ch>
      e682ec71
  3. 08 Aug, 2020 1 commit
  4. 29 Jul, 2020 1 commit
  5. 28 Jul, 2020 1 commit
    • Michael Goderbauer's avatar
      Restoration Framework (#60375) · 175e5c9a
      Michael Goderbauer authored
      * state restoration
      
      * added example
      
      * typos and analyzer
      
      * whitespace
      
      * more typos
      
      * remove unnecessary import
      
      * whitespace
      
      * fix sample code
      
      * tests for restorationmanager and restorationid
      
      * ++
      
      * typo
      
      * tests for bucket, part1
      
      * rename tests
      
      * more tests
      
      * finished tests for service layer
      
      * remove wrong todo
      
      * ++
      
      * review comments
      
      * tests for Unmanaged and regular scope
      
      * RootRestorationScope tests
      
      * typo
      
      * whitespace
      
      * testing framework
      
      * tests for properties
      
      * last set of tests
      
      * analyzer
      
      * typo
      
      * dan review
      
      * whitespace
      
      * ++
      
      * refactor finalizers
      
      * ++
      
      * ++
      
      * dispose guard
      
      * ++
      
      * ++
      
      * dan review
      
      * add manager assert
      
      * ++
      
      * analyzer
      
      * greg review
      
      * fix typo
      
      * Ian & John review
      
      * ian review
      
      * RestorationID -> String
      
      * revert comment
      
      * Make primitives non-nullable in prep for NNBD
      175e5c9a
  6. 25 Jun, 2020 1 commit
  7. 24 Jun, 2020 1 commit
  8. 23 Jun, 2020 1 commit
  9. 17 Jun, 2020 1 commit
  10. 11 Jun, 2020 1 commit
  11. 03 Jun, 2020 1 commit
  12. 20 Apr, 2020 1 commit
  13. 30 Jan, 2020 1 commit
  14. 07 Jan, 2020 1 commit
  15. 21 Dec, 2019 1 commit
  16. 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
  17. 23 Aug, 2019 1 commit
  18. 21 Aug, 2019 1 commit
  19. 26 Jul, 2019 1 commit
  20. 11 Jul, 2019 1 commit
  21. 07 Jun, 2019 2 commits
  22. 06 Jun, 2019 1 commit
  23. 05 Jun, 2019 1 commit
  24. 04 Jun, 2019 2 commits
    • Gary Qian's avatar
      Text inline widgets, TextSpan rework (#33794) · 86862c1e
      Gary Qian authored
      * Merge in changes for inline widgets
      
      * Make analyzer happy, fix tests
      
      * Fix analyzer
      
      * Add missing doc
      
      * Docs on RichText
      
      * Fix analyzer some more
      
      * Remove whitespace at end of line
      
      * Update goldens
      
      * Text fixes
      
      * Analyzer
      86862c1e
    • Greg Spencer's avatar
      Add actions and keyboard shortcut map support (#33298) · 387e2b06
      Greg Spencer authored
      This implements the keyboard shortcut handling and action invocation in order to provide a place in the infrastructure for keyboard events to trigger actions. This will allow binding of key events to actions like "move the focus to the next widget" and "activate button".
      387e2b06
  25. 10 May, 2019 1 commit
  26. 05 Apr, 2019 1 commit
  27. 03 Apr, 2019 1 commit
  28. 27 Oct, 2018 1 commit
  29. 07 Sep, 2018 2 commits
  30. 04 Sep, 2018 1 commit
  31. 16 Aug, 2018 1 commit
  32. 10 Aug, 2018 1 commit
    • Ian Hickson's avatar
      Visibility widget (#20365) · 21f22ed3
      Ian Hickson authored
      * Visibility widget
      
      This attempts to address the confusion around how to hide a widget subtree.
      
      * Apply review comments
      
      * More clarifications
      21f22ed3
  33. 20 Jul, 2018 1 commit
  34. 22 Jun, 2018 1 commit
  35. 16 May, 2018 1 commit
    • Greg Spencer's avatar
      Add Spacer Widget (#16642) · f3874359
      Greg Spencer authored
      This adds a simple spacer widget first suggested by Scott Stoll (@ScottS2017) in the abandoned PR #15802
      
      This PR replaces that one, cleans it up, and adds a test.
      f3874359
  36. 16 Apr, 2018 1 commit
    • Greg Spencer's avatar
      Rename AnimatedChildSwitcher to AnimatedSwitcher (#16551) · 6c049ec2
      Greg Spencer authored
      We don't really like the name AnimatedChildSwitcher, and we think that AnimatedSwitcher might be better (since the Child part is redundant). We also considered AnimatedChild, AnimatedTransition and AnimatedReplacement (among others).
      
      Nothing in here besides a rename.
      6c049ec2