mirror of
https://github.com/flutter/flutter.git
synced 2026-02-11 13:22:46 +08:00
We already know how to talk to the network_service from Dart via fetch.dart. Might as well use that for Image loading as well insetad of having ImageLoader do it. As part of this I've renamed *ImageLoader to *ImageDecoder and moved all the image loading logic into Dart. This required me to teach the idl system about mojo handles so that I could pass the resulting MojoHandle from fetch.dart up through to ImageDecoder. R=abarth@chromium.org, jackson@google.com, hansmuller@google.com Review URL: https://codereview.chromium.org/1173703002.
This sample app is our main test harness right now.
Follow these steps to make sure everything works, comparing the results to earlier builds:
- Load the app
- Scroll down and up.
- Fling down.
- Fling up. Verify that it bounces at the top.
- Tap on rows. Make sure they get ink splashes.
- Open the drawer.
- Slide the drawer in and out.
- Check that you can change the radio buttons.
- Check for ink splashes on each row but not in the header.
- Check that you can't scroll the list with the drawer out.
- Close the drawer.
- Open the menu.
- Check the checkbox.
- Open the menu. Verify the checkbox is checked.
- Tap another menu item.
- Hit search.
- Type a query like "XXI".
- Dismiss the keyboard.
- Scroll the list. Verify that you can't overscroll.
- Tap the search bar. Verify the keyboard comes back.
- Switch to the voice keyboard. Verify that that keyboard works.
- Hit the back button.
- Verify that the floating action button gets ink splashes.
These steps carefully avoid known bugs. See: https://github.com/domokit/mojo/labels/stock%20demo