From 3c11ff596c4145b4ae47918ca64d02ef86b7c312 Mon Sep 17 00:00:00 2001 From: Mustafa Ekrem KENTER Date: Thu, 12 Dec 2019 18:44:38 +0300 Subject: [PATCH] Change links to adaptive.dart and splash.dart (#179) Update links to adaptive.dart and splash.dart as relative links --- gallery/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gallery/README.md b/gallery/README.md index 25cf59c9f..4698ea2df 100644 --- a/gallery/README.md +++ b/gallery/README.md @@ -19,7 +19,7 @@ The Flutter Gallery application has been built to support multiple platforms. Th That being said, extra steps must be taken to [enable Desktop support](https://github.com/flutter/flutter/wiki/Desktop-shells#tooling). -Additionally, the UI adapts between mobile and desktop layouts regardless of the platform it runs on. This is determined based on window size as outlined in [adaptive.dart](https://github.com/material-components/material-components-flutter-gallery/blob/master/gallery/lib/layout/adaptive.dart). +Additionally, the UI adapts between mobile and desktop layouts regardless of the platform it runs on. This is determined based on window size as outlined in [adaptive.dart](gallery/lib/layout/adaptive.dart). ## To include a new splash animation @@ -27,4 +27,4 @@ Additionally, the UI adapts between mobile and desktop layouts regardless of the 2. Add your new `.gif` file to the assets directory under `assets/splash_effects`. Ensure the name follows the format `splash_effect_$num.gif`. The number should be the next number after the current largest number in the repository. -3. Update the map `_effectDurations` in [splash.dart](https://github.com/material-components/material-components-flutter-gallery/blob/master/gallery/lib/pages/splash.dart) to include the number of the new `.gif` as well as its estimated duration. The duration is used to determine how long to display the splash animation at launch. +3. Update the map `_effectDurations` in [splash.dart](gallery/lib/pages/splash.dart) to include the number of the new `.gif` as well as its estimated duration. The duration is used to determine how long to display the splash animation at launch.