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:
@@ -25,9 +25,9 @@ Future<SavedServer?> editSavedServer(
|
||||
authenticator: authenticator,
|
||||
discovery: discovery ?? platformServerDiscovery(),
|
||||
);
|
||||
return Navigator.of(context).push<SavedServer>(
|
||||
MaterialPageRoute(builder: (_) => page),
|
||||
);
|
||||
return Navigator.of(
|
||||
context,
|
||||
).push<SavedServer>(MaterialPageRoute(builder: (_) => page));
|
||||
}
|
||||
|
||||
class _ServerEditor extends StatefulWidget {
|
||||
@@ -200,9 +200,7 @@ class _ServerEditorState extends State<_ServerEditor> {
|
||||
liveRegion: true,
|
||||
child: Text(
|
||||
_error!,
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).colorScheme.error,
|
||||
),
|
||||
style: TextStyle(color: Theme.of(context).colorScheme.error),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -216,7 +214,7 @@ class _ServerEditorState extends State<_ServerEditor> {
|
||||
|
||||
Widget _scaffold(String title, Widget body) => Scaffold(
|
||||
extendBodyBehindAppBar: true,
|
||||
appBar: SegmentedBar(cupertino: false, title: title),
|
||||
appBar: SegmentedBar(title: title),
|
||||
body: body,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -191,7 +191,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
if (widget.embedded) return content;
|
||||
return Scaffold(
|
||||
extendBodyBehindAppBar: true,
|
||||
appBar: const SegmentedBar(cupertino: false, title: 'Settings'),
|
||||
appBar: const SegmentedBar(title: 'Settings'),
|
||||
body: content,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user