add automated screenshots, fastlane metadata, and appstream metainfo

Fixes #174, fixes #173, fixes #172
This commit is contained in:
Henry Hiles 2026-11-12 12:48:30 -05:00
commit c93004f060
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -10,9 +10,23 @@ extension PumpUntil on WidgetTester {
Future<void> pumpUntil(Finder finder) async {
const timeout = Duration(seconds: 30);
String textsIn(Finder finder) => widgetList<Text>(
find.descendant(of: finder, matching: find.byType(Text)),
).map((text) => text.data).nonNulls.join("\n");
String textsIn(Finder finder) =>
widgetList(
find.descendant(
of: finder,
matching: find.byWidgetPredicate(
(widget) => widget is Text || widget is SelectableText,
),
),
)
.map(
(widget) => switch (widget) {
Text(:final data) || SelectableText(:final data) => data,
_ => null,
},
)
.nonNulls
.join("\n");
final stopwatch = Stopwatch()..start();
while (stopwatch.elapsed < timeout) {