tree: 9b3b7c7f2c3a20a4b6d44ca916e0d7d74a535693 [path history] [tgz]
  1. android/
  2. lib/
  3. test/
  4. test_driver/
  5. .gitignore
  6. .metadata
  7. pubspec.yaml

Splash Demo: Kitchen Sink

This project is an example of a splash screen that shows a logo for a launch screen and then zooms that logo towards the screen while fading content beneath it, masked by the logo.

The purpose of this example project is to push the limits of what Flutter's splash system affords.

This project is also run as a device lab test via Flutter Driver.

The files that are relevant to test execution are:

  • /test_driver/main.dart
  • /test_driver/main_test.dart
  • /android/app/src/main/java/io/flutter/splash_screen_kitchen_sink/

The files that should be inspected to learn about splash behavior are:

  • /android/app/src/main/java/io/flutter/splash_screen_kitchen_sink/
  • /android/app/src/main/java/io/flutter/splash_screen_kitchen_sink/

Communication takes place from Android to Flutter to Driver to communicate splash screen events. This communication takes place over a channel called “testChannel”, whose definition can be found in and test_driver/main.dart.