mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-14 17:25:47 +00:00
Removed fittedbox from the default scaffold widget
This commit is contained in:
@ -43,12 +43,10 @@ class DefaultScaffold extends StatelessWidget {
|
|||||||
AppBar(
|
AppBar(
|
||||||
backgroundColor: Colors.transparent,
|
backgroundColor: Colors.transparent,
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
title: FittedBox(
|
title: BodyLarge(
|
||||||
child: BodyLarge(
|
text: title ?? "",
|
||||||
text: title ?? "",
|
fontColor: ColorsManager.secondaryColor,
|
||||||
fontColor: ColorsManager.secondaryColor,
|
fontWeight: FontsManager.bold,
|
||||||
fontWeight: FontsManager.bold,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
actions: actions,
|
actions: actions,
|
||||||
leading: leading,
|
leading: leading,
|
||||||
@ -57,8 +55,7 @@ class DefaultScaffold extends StatelessWidget {
|
|||||||
body: Container(
|
body: Container(
|
||||||
width: MediaQuery.sizeOf(context).width,
|
width: MediaQuery.sizeOf(context).width,
|
||||||
height: MediaQuery.sizeOf(context).height,
|
height: MediaQuery.sizeOf(context).height,
|
||||||
padding: padding ??
|
padding: padding ?? const EdgeInsets.symmetric(horizontal: Constants.defaultPadding),
|
||||||
const EdgeInsets.symmetric(horizontal: Constants.defaultPadding),
|
|
||||||
decoration: const BoxDecoration(
|
decoration: const BoxDecoration(
|
||||||
image: DecorationImage(
|
image: DecorationImage(
|
||||||
image: AssetImage(
|
image: AssetImage(
|
||||||
|
Reference in New Issue
Block a user