Fix parallax size (#800)

* Non-fullscreen ParallaxComponent

* Updated examples with no size needed

* Formatting

* Add docs for fullscreen parallax

* Fix formatting

* Remove need of nullable size

* Add basic parallax sizing test

* Fix formatting

* Remove unused imports

* Info text for the parallax examples
This commit is contained in:
Lukas Klingsbo
2021-05-20 16:58:49 +02:00
committed by GitHub
parent bc5decd193
commit 8f7c773f82
12 changed files with 141 additions and 34 deletions

View File

@ -3,8 +3,8 @@ import 'dart:io';
void main(args) {
final coverageSummary = args[0] as String;
final currentRaw = coverageSummary.replaceFirstMapped(
RegExp(r".* (\d+\.\d+)%.*"),
(matches) => '${matches[1]}',
RegExp(r".* (\d+\.\d+)%.*"),
(matches) => '${matches[1]}',
);
final current = double.parse(currentRaw);