Skip to content

Commit bbcdf40

Browse files
Merge pull request #279 from Nandhini-Ravichandran/master
Resolved warnings
2 parents 033ee05 + 2c49a7b commit bbcdf40

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

lib/sample_browser.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class _HomePageState extends State<HomePage> {
130130
child: SafeArea(
131131
child: model.isMobileResolution
132132
? Scaffold(
133-
resizeToAvoidBottomPadding: true,
133+
resizeToAvoidBottomInset: false,
134134
drawer: (!model.isWeb && Platform.isIOS)
135135
? null //Avoiding drawer in iOS platform
136136
: getLeftSideDrawer(model),
@@ -172,7 +172,7 @@ class _HomePageState extends State<HomePage> {
172172
key: scaffoldKey,
173173
backgroundColor: model.webBackgroundColor,
174174
endDrawer: showWebThemeSettings(model),
175-
resizeToAvoidBottomPadding: true,
175+
resizeToAvoidBottomInset: false,
176176
appBar: PreferredSize(
177177
preferredSize: const Size.fromHeight(90.0),
178178
child: AppBar(

lib/samples/calendar/appointment_editor.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ class _CalendarAppointmentEditorState extends SampleViewState {
110110
final double _screenHeight = MediaQuery.of(context).size.height;
111111
return Scaffold(
112112
resizeToAvoidBottomInset: false,
113-
resizeToAvoidBottomPadding: false,
114113
body: calendarController.view == CalendarView.month &&
115114
model.isWeb &&
116115
_screenHeight < 800

lib/widgets/flutter_backdrop.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ class BackdropState extends State<Backdrop>
262262
return Theme(
263263
data: sampleListModel.themeData,
264264
child: Scaffold(
265-
resizeToAvoidBottomPadding: false,
265+
resizeToAvoidBottomInset: false,
266266
key: _scaffoldKey,
267267
backgroundColor: sampleListModel.paletteColor,
268268
appBar: PreferredSize(

0 commit comments

Comments
 (0)