Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions lib/features/blur_editor/blur_editor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,15 @@ class BlurEditorState extends State<BlurEditor>
right: blurEditorConfigs.safeArea.right,
child: RecordInvisibleWidget(
controller: screenshotCtrl,
child: Scaffold(
backgroundColor: blurEditorConfigs.style.background,
appBar: _buildAppBar(),
body: _buildBody(),
bottomNavigationBar: _buildBottomNavBar(),
child: MediaQuery.removePadding(
context: context,
removeBottom: !blurEditorConfigs.safeArea.bottom,
child: Scaffold(
backgroundColor: blurEditorConfigs.style.background,
appBar: _buildAppBar(),
body: _buildBody(),
bottomNavigationBar: _buildBottomNavBar(),
),
),
),
),
Expand Down
28 changes: 16 additions & 12 deletions lib/features/crop_rotate_editor/crop_rotate_editor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2146,20 +2146,24 @@ class CropRotateEditorState extends State<CropRotateEditor>
preferBelow: true,
),
),
child: Scaffold(
resizeToAvoidBottomInset: false,
backgroundColor: cropRotateEditorConfigs.style.background,
appBar: _buildAppBar(constraints),
body: Center(
child: SizedBox(
width:
constraints.maxWidth *
(cropRotateEditorConfigs.maxWidthFactor ??
(!kIsWeb && Platform.isAndroid ? 0.9 : 1)),
child: _buildBody(),
child: MediaQuery.removePadding(
context: context,
removeBottom: !cropRotateEditorConfigs.safeArea.bottom,
child: Scaffold(
resizeToAvoidBottomInset: false,
backgroundColor: cropRotateEditorConfigs.style.background,
appBar: _buildAppBar(constraints),
body: Center(
child: SizedBox(
width:
constraints.maxWidth *
(cropRotateEditorConfigs.maxWidthFactor ??
(!kIsWeb && Platform.isAndroid ? 0.9 : 1)),
child: _buildBody(),
),
),
bottomNavigationBar: _buildBottomAppBar(),
),
bottomNavigationBar: _buildBottomAppBar(),
),
),
);
Expand Down
14 changes: 9 additions & 5 deletions lib/features/filter_editor/filter_editor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -309,11 +309,15 @@ class FilterEditorState extends State<FilterEditor>
right: filterEditorConfigs.safeArea.right,
child: RecordInvisibleWidget(
controller: screenshotCtrl,
child: Scaffold(
backgroundColor: filterEditorConfigs.style.background,
appBar: _buildAppBar(),
body: _buildBody(),
bottomNavigationBar: _buildBottomNavBar(),
child: MediaQuery.removePadding(
context: context,
removeBottom: !filterEditorConfigs.safeArea.bottom,
child: Scaffold(
backgroundColor: filterEditorConfigs.style.background,
appBar: _buildAppBar(),
body: _buildBody(),
bottomNavigationBar: _buildBottomNavBar(),
),
),
),
),
Expand Down
16 changes: 10 additions & 6 deletions lib/features/paint_editor/paint_editor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -880,12 +880,16 @@ class PaintEditorState extends State<PaintEditor>
controller: screenshotCtrl,
child: LayoutBuilder(
builder: (context, constraints) {
return Scaffold(
resizeToAvoidBottomInset: false,
backgroundColor: paintEditorConfigs.style.background,
appBar: _buildAppBar(constraints),
body: _buildBody(),
bottomNavigationBar: _buildBottomBar(),
return MediaQuery.removePadding(
context: context,
removeBottom: !paintEditorConfigs.safeArea.bottom,
child: Scaffold(
resizeToAvoidBottomInset: false,
backgroundColor: paintEditorConfigs.style.background,
appBar: _buildAppBar(constraints),
body: _buildBody(),
bottomNavigationBar: _buildBottomBar(),
),
);
},
),
Expand Down
18 changes: 11 additions & 7 deletions lib/features/text_editor/text_editor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -355,13 +355,17 @@ class TextEditorState extends State<TextEditor>
bottom: textEditorConfigs.safeArea.bottom,
left: textEditorConfigs.safeArea.left,
right: textEditorConfigs.safeArea.right,
child: Scaffold(
resizeToAvoidBottomInset:
textEditorConfigs.resizeToAvoidBottomInset,
backgroundColor: textEditorConfigs.style.background,
appBar: _buildAppBar(constraints),
body: _buildBody(),
bottomNavigationBar: _buildBottomBar(),
child: MediaQuery.removePadding(
context: context,
removeBottom: !textEditorConfigs.safeArea.bottom,
child: Scaffold(
resizeToAvoidBottomInset:
textEditorConfigs.resizeToAvoidBottomInset,
backgroundColor: textEditorConfigs.style.background,
appBar: _buildAppBar(constraints),
body: _buildBody(),
bottomNavigationBar: _buildBottomBar(),
),
),
),
),
Expand Down
14 changes: 9 additions & 5 deletions lib/features/tune_editor/tune_editor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -389,11 +389,15 @@ class TuneEditorState extends State<TuneEditor>
right: tuneEditorConfigs.safeArea.right,
child: RecordInvisibleWidget(
controller: screenshotCtrl,
child: Scaffold(
backgroundColor: tuneEditorConfigs.style.background,
appBar: _buildAppBar(),
body: _buildBody(),
bottomNavigationBar: _buildBottomNavBar(),
child: MediaQuery.removePadding(
context: context,
removeBottom: !tuneEditorConfigs.safeArea.bottom,
child: Scaffold(
backgroundColor: tuneEditorConfigs.style.background,
appBar: _buildAppBar(),
body: _buildBody(),
bottomNavigationBar: _buildBottomNavBar(),
),
),
),
),
Expand Down
Loading