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