- 12 Feb, 2020 7 commits
-
-
Anthony Mansour authored
-
Zachary Anderson authored
This reverts commit 0a38f29c.
-
Jenn Magder authored
-
Casey Hillers authored
-
Gary Qian authored
-
Jonah Williams authored
Revert "Revert "Reduced code duplication in ink_splash.dart, ink_ripple.dart (#49480)" (#50502)" (#50512) This reverts commit 9bc0e6a9.
-
Jonah Williams authored
-
- 11 Feb, 2020 14 commits
-
-
Jenn Magder authored
-
Zachary Anderson authored
-
Jonah Williams authored
-
Jason Simmons authored
-
LongCatIsLooong authored
-
Alexandre Ardhuin authored
-
Lamonte authored
-
Jenn Magder authored
-
Jonah Williams authored
-
Greg Spencer authored
Updates the README file for snippets.
-
Greg Spencer authored
This change adds a way to provide explicit focus order for a part of the widget tree. It adds FocusTraversalPolicyGroup, which in many ways is similar to DefaultFocusTraversal, except that it groups a widget subtree together so that those nodes are traversed as a group. DefaultFocusTraversal doesn't work as one would expect: If there is more than one DefaultFocusTraversal inside of a focus scope, the policy can change depending on which node was asked to move "next", which can cause unexpected behavior. The new grouping mechanism doesn't have that problem. I deprecate DefaultFocusTraversal in this PR. It also adds OrderedFocusTraversalPolicy, which is a policy that can be supplied to FocusTraversalPolicyGroup to set the policy for a sub-tree. It looks for FocusTraversalOrder inherited widgets, which use a FocusOrder to do the sorting. FocusOrder has two subclasses: NumericalFocusOrder (which sorts based on a double), and LexicalFocusOrder, which sorts based on a String. As part of doing this, I refactored the way FocusTraversalPolicy is implemented so that it has more default implementation methods, and exposes a new protected member: sortDescendants, which makes it easier for developers to make their own policy subclasses: they only need to implement sortDescendants to get a new ordering behavior, but can also still override any of the default implementation behaviors if they need different behavior. I was able to do this without breaking the API (AFAICT).
-
Gary Qian authored
-
Christopher Fujino authored
-
Amir Hardon authored
-
- 10 Feb, 2020 18 commits
-
-
Mouad Debbar authored
-
engine-flutter-autoroll authored
-
Shi-Hao Hong authored
Revert "Fix SnackBar clipping when it is floating due to FloatingActionButton positioning (#47616)" (#50516) This reverts commit 801a6a7e.
-
Greg Spencer authored
This makes FocusManager a ChangeNotifier that notifies when the primaryFocus changes so that an app can track the current focus. Fixes #50501
-
Dan Field authored
-
Jonah Williams authored
-
Dan Field authored
-
Michael Goderbauer authored
-
Jonah Williams authored
This reverts commit 90206427.
-
Zachary Anderson authored
-
Per Classon authored
-
Fedor Korotkov authored
Catalina VMs are using the latest major version of virtualization which has improved networking which should fix `Agent is not responding!` issue.
-
liyuqian authored
-
Greg Spencer authored
This PR modifies the existing API docs samples to use DartPad so that all of the samples are now interactive apps on the API docs site. It also removes the restriction for the max width of the description area so that the dartpad region can expand horizontally. I updated the first paragraph on the API docs to indicate that Flutter is more than just mobile now (same text as the README.md at the top level). I modified a few of the examples so that they looked nicer, and fit better on the page. I added the sample description text above each DartPad instance, since that often defines the context of the example. I removed animations and images when they were redundant with the sample content. There were a few that made sense to keep, so I did.
-
Jonah Williams authored
-
Jonah Williams authored
-
Jonah Williams authored
-
Prerak Mann authored
-
- 08 Feb, 2020 1 commit
-
-
Shi-Hao Hong authored
-