1
This commit is contained in:
parent
42d5720b58
commit
6cf8ae4d44
@ -14,6 +14,7 @@ class CategoryView extends GetView<CategoryController> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
backgroundColor: Colors.black,
|
||||
body: Container(
|
||||
decoration: const BoxDecoration(
|
||||
image: DecorationImage(
|
||||
|
||||
@ -21,20 +21,17 @@ class HomeDrawerView extends StatelessWidget {
|
||||
fit: BoxFit.cover,
|
||||
),
|
||||
),
|
||||
child: SafeArea(
|
||||
bottom: false,
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: <Widget>[
|
||||
SizedBox(height: MediaQuery.of(context).padding.top + 15.w),
|
||||
Container(
|
||||
margin: EdgeInsets.only(left: 16.w),
|
||||
child: Text(
|
||||
Text(
|
||||
"Style classification",
|
||||
style: TextStyle(
|
||||
fontSize: 24.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: Colors.white),
|
||||
),
|
||||
),
|
||||
10.verticalSpace,
|
||||
Expanded(
|
||||
child: MasonryGridView.count(
|
||||
@ -46,12 +43,12 @@ class HomeDrawerView extends StatelessWidget {
|
||||
8,
|
||||
0,
|
||||
8,
|
||||
MediaQuery.of(context).padding.bottom + 10,
|
||||
MediaQuery.of(context).padding.bottom ,
|
||||
).w,
|
||||
itemBuilder: (context, index) {
|
||||
return GestureDetector(
|
||||
onTap: () => controller
|
||||
.toCategory(controller.category[index]),
|
||||
onTap: () =>
|
||||
controller.toCategory(controller.category[index]),
|
||||
child: Stack(
|
||||
alignment: AlignmentDirectional.bottomStart,
|
||||
children: [
|
||||
@ -94,6 +91,7 @@ class HomeDrawerView extends StatelessWidget {
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@ -21,6 +21,7 @@ class LibraryView extends GetView<LibraryController> {
|
||||
),
|
||||
),
|
||||
child: SafeArea(
|
||||
bottom: false,
|
||||
child: Column(
|
||||
children: [
|
||||
_buildTabBar(),
|
||||
|
||||
@ -72,6 +72,7 @@ class RecommendView extends GetView<RecommendController> {
|
||||
},
|
||||
),
|
||||
SafeArea(
|
||||
bottom: false,
|
||||
child: Column(
|
||||
children: [
|
||||
SearchAppbar(
|
||||
@ -152,6 +153,7 @@ class RecommendView extends GetView<RecommendController> {
|
||||
),
|
||||
),
|
||||
child: SafeArea(
|
||||
bottom: false,
|
||||
child: Column(
|
||||
children: [
|
||||
SearchAppbar(
|
||||
|
||||
@ -29,6 +29,7 @@ class SearchImageView extends GetView<SearchImageController> {
|
||||
child: GetBuilder<SearchImageController>(
|
||||
builder: (controller) => Obx(
|
||||
() => SafeArea(
|
||||
bottom: false,
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
|
||||
Loading…
Reference in New Issue
Block a user