You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
603 B
32 lines
603 B
1 year ago
|
/*
|
||
|
* Copyright (c) 2023. Open Mobile Platform LLC.
|
||
|
* License: Proprietary.
|
||
|
*/
|
||
|
import 'package:flutter/material.dart';
|
||
|
|
||
|
class PageLayout extends StatefulWidget {
|
||
|
const PageLayout({
|
||
|
super.key,
|
||
|
required this.child,
|
||
|
});
|
||
|
|
||
|
final Widget child;
|
||
|
|
||
|
@override
|
||
|
State<PageLayout> createState() => _PageLayoutState();
|
||
|
}
|
||
|
|
||
|
class _PageLayoutState extends State<PageLayout> {
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return Localizations.override(
|
||
|
context: context,
|
||
|
child: Builder(
|
||
|
builder: (context) {
|
||
|
return widget.child;
|
||
|
},
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
}
|