mirror of
https://github.com/flutter/flutter.git
synced 2026-02-12 05:42:27 +08:00
This CL replaces the (non-working) components2 InkWell with some code based on the ink_well example. There are at least two issues with the implementation: 1) The ink splash always starts at the center of the well because we don't have a facility for converting from global to local coordinates, which means we can't tell where the tap occurred in the local coordinates we need to use for painting. 2) When used inside a MenuItem, the in splash disappears shortly after starting, presumably because the button starts highlighting, which causes a component rebuild and somehow we lose the RenderInkWell instance. I plan to address these issues in subsequent CLs. R=ianh@google.com Review URL: https://codereview.chromium.org/1172033003.
Sky Examples
This directory contains several examples of using Sky. Each of these is an
individual Dart application package. If you wish to run them with sky_tool
then you will want to run pub get inside their directory before running
./packages/sky/sky_tool start.
-
Hello, world. The hello world app is a basic app that shows the text "hello, world."
-
Stocks. The stocks app is an example of a typical mobile app built using Sky. The app shows a list of all the stocks in the NASDAQ.
-
Widgets. The widgets app contains a number of Sky widgets so you can experiment with them in a simple container.