// SPDX-FileCopyrightText: Copyright 2023 Open Mobile Platform LLC // SPDX-License-Identifier: BSD-3-Clause import 'package:flutter/material.dart'; class PageLayout extends StatefulWidget { const PageLayout({ super.key, required this.child, }); final Widget child; @override State createState() => _PageLayoutState(); } class _PageLayoutState extends State { @override Widget build(BuildContext context) { return Localizations.override( context: context, child: Builder( builder: (context) { return widget.child; }, ), ); } }