1
This commit is contained in:
parent
0691689152
commit
c045614e31
@ -20,14 +20,15 @@ class LibraryView extends GetView<LibraryController> {
|
||||
fit: BoxFit.cover,
|
||||
),
|
||||
),
|
||||
child: SafeArea(
|
||||
child: Column(
|
||||
children: [
|
||||
SizedBox(height: MediaQuery.of(context).padding.top),
|
||||
_buildTabBar(),
|
||||
_buildBody(),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@ -71,10 +71,7 @@ class RecommendView extends GetView<RecommendController> {
|
||||
);
|
||||
},
|
||||
),
|
||||
Container(
|
||||
height: double.infinity,
|
||||
width: double.infinity,
|
||||
padding: EdgeInsets.only(top: MediaQuery.of(context).padding.top).w,
|
||||
SafeArea(
|
||||
child: Column(
|
||||
children: [
|
||||
SearchAppbar(
|
||||
@ -148,15 +145,13 @@ class RecommendView extends GetView<RecommendController> {
|
||||
|
||||
Widget _buildMasonryGridView(context) {
|
||||
return Container(
|
||||
height: double.infinity,
|
||||
width: double.infinity,
|
||||
padding: EdgeInsets.only(top: MediaQuery.of(context).padding.top).w,
|
||||
decoration: const BoxDecoration(
|
||||
image: DecorationImage(
|
||||
image: AssetImage(Assets.imagesRecommendBottomBackground),
|
||||
fit: BoxFit.cover,
|
||||
),
|
||||
),
|
||||
child: SafeArea(
|
||||
child: Column(
|
||||
children: [
|
||||
SearchAppbar(
|
||||
@ -203,6 +198,7 @@ class RecommendView extends GetView<RecommendController> {
|
||||
}),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@ -28,12 +28,10 @@ class SearchImageView extends GetView<SearchImageController> {
|
||||
),
|
||||
child: GetBuilder<SearchImageController>(
|
||||
builder: (controller) => Obx(
|
||||
() => Column(
|
||||
() => SafeArea(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
SizedBox(
|
||||
height: MediaQuery.of(context).padding.top,
|
||||
),
|
||||
_buildSearchInput(),
|
||||
if (controller.searchList.isNotEmpty) ...[
|
||||
Container(
|
||||
@ -54,6 +52,7 @@ class SearchImageView extends GetView<SearchImageController> {
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@ -163,9 +162,7 @@ class SearchImageView extends GetView<SearchImageController> {
|
||||
Widget _buildTags(context) {
|
||||
return Container(
|
||||
width: double.infinity,
|
||||
padding: EdgeInsets.only(
|
||||
bottom: MediaQuery.of(context).padding.bottom + 10,
|
||||
),
|
||||
padding: const EdgeInsets.only(bottom: 10).w,
|
||||
child: Column(
|
||||
children: [
|
||||
Row(
|
||||
|
||||
@ -20,9 +20,8 @@ class SettingsView extends GetView<SettingsController> {
|
||||
fit: BoxFit.cover,
|
||||
),
|
||||
),
|
||||
padding: EdgeInsets.only(
|
||||
top: MediaQuery.of(context).padding.top + 70,
|
||||
).w,
|
||||
padding: const EdgeInsets.only(top: 70).w,
|
||||
child: SafeArea(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
@ -40,6 +39,7 @@ class SettingsView extends GetView<SettingsController> {
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user