Files
pipelines/app/tool/storage_probe_entry.dart
alan b60ad6d98f Remove alternate hosts from tooling probes
Keep the probe suite on the Material composition so browser fixtures and capture drivers no longer render or select Cupertino hosts. Record the final residual legacy arguments and implementation checks for the delivery gate.
2026-11-11 21:38:30 +00:00

24 lines
765 B
Dart

import 'package:flutter/material.dart';
import 'package:pipelines_app/features/settings/storage/storage_screen.dart';
import 'storage_probe_fixture.dart';
void main() {
final query = Uri.base.queryParameters;
final dark = query['theme'] == 'dark';
final scale = double.tryParse(query['scale'] ?? '') ?? 1;
final screen = StorageScreen(
gateway: StorageProbeGateway()..unsupported = query['unsupported'] == '1',
);
Widget scaled(BuildContext context, Widget? child) => MediaQuery(
data: MediaQuery.of(context).copyWith(textScaler: TextScaler.linear(scale)),
child: child!,
);
runApp(
MaterialApp(
theme: ThemeData(brightness: dark ? Brightness.dark : Brightness.light),
builder: scaled,
home: screen,
),
);
}