mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
access management design revamp, responsiveness and buttons
This commit is contained in:
@ -8,14 +8,17 @@ import 'menu_sidebar.dart';
|
||||
class WebScaffold extends StatelessWidget with HelperResponsiveLayout {
|
||||
final bool enableMenuSideba;
|
||||
final Widget? appBarTitle;
|
||||
final List<Widget>? appBarBody;
|
||||
final Widget? centerBody;
|
||||
final Widget? rightBody;
|
||||
final Widget? scaffoldBody;
|
||||
const WebScaffold(
|
||||
{super.key,
|
||||
this.appBarTitle,
|
||||
this.appBarBody,
|
||||
this.scaffoldBody,
|
||||
this.enableMenuSideba = true});
|
||||
const WebScaffold({
|
||||
super.key,
|
||||
this.appBarTitle,
|
||||
this.centerBody,
|
||||
this.rightBody,
|
||||
this.scaffoldBody,
|
||||
this.enableMenuSideba = true,
|
||||
});
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final isSmall = isSmallScreenSize(context);
|
||||
@ -40,7 +43,8 @@ class WebScaffold extends StatelessWidget with HelperResponsiveLayout {
|
||||
opacity: 0.7,
|
||||
child: WebAppBar(
|
||||
title: appBarTitle,
|
||||
body: appBarBody,
|
||||
centerBody: centerBody,
|
||||
rightBody: rightBody,
|
||||
)),
|
||||
Expanded(
|
||||
child: Row(
|
||||
|
Reference in New Issue
Block a user