Complete Material-only APIs and fixtures
Remove obsolete control-family flags and icon metadata across all callers, dead alternate themes and host helpers, obsolete test setup, and the unused icon-font dependency. Preserve native Material Back transitions. Make navigation fixtures independent of update plugins and answer auxiliary shell snapshots so the complete application suite can run deterministically.
This commit is contained in:
@@ -63,15 +63,12 @@ class TemplateCreateHost extends StatelessWidget {
|
||||
super.key,
|
||||
required this.gateway,
|
||||
required this.onCreated,
|
||||
this.cupertino = false,
|
||||
this.template = templateCreateFixture,
|
||||
});
|
||||
|
||||
final FakeTemplateCreateGateway gateway;
|
||||
final ValueChanged<JsonMap> onCreated;
|
||||
|
||||
/// Retained for callers that still pass it; the host is always Material.
|
||||
final bool cupertino;
|
||||
final TemplateEntry template;
|
||||
|
||||
void _open(BuildContext context) {
|
||||
@@ -79,7 +76,6 @@ class TemplateCreateHost extends StatelessWidget {
|
||||
context: context,
|
||||
template: template,
|
||||
repository: TemplateRepository(gateway),
|
||||
cupertino: cupertino,
|
||||
onCreated: onCreated,
|
||||
);
|
||||
}
|
||||
@@ -97,11 +93,7 @@ class TemplateCreateHost extends StatelessWidget {
|
||||
}
|
||||
}
|
||||
|
||||
Widget templateCreateApp(
|
||||
Widget child, {
|
||||
bool cupertino = false,
|
||||
double textScale = 1,
|
||||
}) {
|
||||
Widget templateCreateApp(Widget child, {double textScale = 1}) {
|
||||
Widget media(BuildContext context, Widget? app) => MediaQuery(
|
||||
data: MediaQuery.of(
|
||||
context,
|
||||
|
||||
@@ -82,7 +82,6 @@ Future<JsonMap> acceptedCreate(String type, JsonMap fields) async {
|
||||
Future<void> pumpGallery(
|
||||
WidgetTester tester,
|
||||
GalleryGateway gateway, {
|
||||
bool cupertino = false,
|
||||
bool embedded = false,
|
||||
ValueChanged<JsonMap>? onCreated,
|
||||
double textScale = 1,
|
||||
|
||||
Reference in New Issue
Block a user