Turns out Android crashes if the colour is not opaque, so we enforce
that at the Dart level.
Also, since label and colour are both actually optional, make them
named arguments.
This uses the fancy new x-repository support:
https://github.com/luci/recipes-py/blob/master/doc/cross_repo.md
I'm not at all certain that we're going to use Chromium's
Infra for flutter, but I'm exploring and since this works
I figure I should check it in.
@abarth
Update progress_indicator widget example
Update the progress_indicator demo: it was using Title explicitly, which is no longer needed.
Defend against a null color in updateTaskDescription. The color field in the TaskDescription struct (activity.mojom) isn't nullable.
Fixes#1248
Introduces a new Tooltip class.
Adds support for tooltips to IconButton and Scaffold.
Adds some tooltips to various demos.
Also some tweaks to stack.dart that I made before I decided not to go
down a "CustomPositioned" route.
We were recomputing which widgets to show only when we were on the other side
of the repaint boundaries. That doesn't work well for pageable lists because we
come to rest exactly on a repaint boundary, which means we don't cull the other
page.
After this patch, we recompute the set of widgets using an edge-trigger when we
hit the boundary. That's better than using a level-trigger so that we don't
continuously recompute the set of widget as we sit at the boundary.
The Firebase server seems to have changed behavior and is not giving us a List
instead of a Map. This patch switches us back to GitHub, which just serves the
same flat files all the time.
No you can't hit things inside degenerate transforms. Tranforming from global
coordaintes to degenerate local coordinates gives you Point.origin. Also,
upgrade vector_math to get a better invert constructor.
Fixes#1161Fixes#1224
Floating Action Button transitions
When the scaffold's floating action button (FAB) is replaced the old FAB shrinks to zero and then the new one grows to its full size. When a FAB is shown, its child spins into place.
This is all intended to be a good approximation of the "Lateral Screens" section of the material design spec.
The fab.dart example is included as stop gap until the gallery and other demos have been updated.