-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
70 changed files
with
475 additions
and
51 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
import '../../../constants/colors.dart'; | ||
|
||
class ChildrenCategories extends StatelessWidget { | ||
const ChildrenCategories({Key? key}) : super(key: key); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
Size size = MediaQuery.of(context).size; | ||
|
||
final categories = [ | ||
'Jeans', | ||
'Shirt', | ||
'Inner', | ||
'Jacket', | ||
'Cardigan', | ||
'Shirt', | ||
'Joggers', | ||
'T-shirt', | ||
'Gown', | ||
]; | ||
|
||
return Column( | ||
children: [ | ||
const Padding( | ||
padding: EdgeInsets.only(top: 10.0), | ||
child: Text( | ||
'Categories for children', | ||
style: TextStyle( | ||
fontWeight: FontWeight.w500, | ||
fontSize: 18, | ||
), | ||
), | ||
), | ||
const SizedBox(height: 10), | ||
SizedBox( | ||
height: size.height * 0.73, | ||
child: GridView.builder( | ||
itemCount: categories.length, | ||
padding: const EdgeInsets.only(top: 5), | ||
itemBuilder: (context, index) => Padding( | ||
padding: const EdgeInsets.all(8.0), | ||
child: Container( | ||
decoration: BoxDecoration( | ||
borderRadius: BorderRadius.circular(10), | ||
color: primaryColor, | ||
), | ||
child: Column( | ||
children: [ | ||
Container( | ||
height: 115, | ||
decoration: BoxDecoration( | ||
borderRadius: BorderRadius.circular(10), | ||
image: DecorationImage( | ||
image: AssetImage( | ||
'assets/images/sub_categories/children/${categories[index].toLowerCase()}.jpg', | ||
), | ||
fit: BoxFit.cover), | ||
), | ||
), | ||
const SizedBox(height: 2), | ||
Text( | ||
categories[index], | ||
maxLines: 1, | ||
overflow: TextOverflow.ellipsis, | ||
style: const TextStyle( | ||
color: Colors.white, | ||
), | ||
), | ||
], | ||
), | ||
), | ||
), | ||
gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount( | ||
mainAxisSpacing: 10, | ||
crossAxisSpacing: 10, | ||
crossAxisCount: 2, | ||
), | ||
), | ||
), | ||
], | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
import '../../../constants/colors.dart'; | ||
|
||
class MenCategories extends StatelessWidget { | ||
const MenCategories({Key? key}) : super(key: key); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
Size size = MediaQuery.of(context).size; | ||
|
||
final categories = [ | ||
'Jeans', | ||
'Suit', | ||
'Short', | ||
'Jacket', | ||
'Coat', | ||
'Shirt', | ||
'Vest', | ||
'T-shirt', | ||
]; | ||
|
||
return Column( | ||
children: [ | ||
const Padding( | ||
padding: EdgeInsets.only(top: 10.0), | ||
child: Text( | ||
'Categories for men', | ||
style: TextStyle( | ||
fontWeight: FontWeight.w500, | ||
fontSize: 18, | ||
), | ||
), | ||
), | ||
const SizedBox(height: 10), | ||
SizedBox( | ||
height: size.height * 0.73, | ||
child: GridView.builder( | ||
itemCount: categories.length, | ||
padding: const EdgeInsets.only(top: 5), | ||
itemBuilder: (context, index) => Padding( | ||
padding: const EdgeInsets.all(8.0), | ||
child: Container( | ||
decoration: BoxDecoration( | ||
borderRadius: BorderRadius.circular(10), | ||
color: primaryColor, | ||
), | ||
child: Column( | ||
children: [ | ||
Container( | ||
height: 115, | ||
decoration: BoxDecoration( | ||
borderRadius: BorderRadius.circular(10), | ||
image: DecorationImage( | ||
image: AssetImage( | ||
'assets/images/sub_categories/men/${categories[index].toLowerCase()}.jpg', | ||
), | ||
fit: BoxFit.cover | ||
), | ||
), | ||
), | ||
const SizedBox(height: 2), | ||
Text( | ||
categories[index], | ||
maxLines: 1, | ||
overflow: TextOverflow.ellipsis, | ||
style: const TextStyle( | ||
color: Colors.white, | ||
), | ||
), | ||
], | ||
), | ||
), | ||
), | ||
gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount( | ||
mainAxisSpacing: 10, | ||
crossAxisSpacing: 10, | ||
crossAxisCount: 2, | ||
), | ||
), | ||
), | ||
], | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
import '../../../constants/colors.dart'; | ||
|
||
class OtherCategories extends StatelessWidget { | ||
const OtherCategories({Key? key}) : super(key: key); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
Size size = MediaQuery.of(context).size; | ||
|
||
final categories = [ | ||
'Headset', | ||
'Laptop', | ||
'Gaming', | ||
'Camera', | ||
'Bag', | ||
'Watch', | ||
]; | ||
|
||
return Column( | ||
children: [ | ||
const Padding( | ||
padding: EdgeInsets.only(top: 10.0), | ||
child: Text( | ||
'Other categories', | ||
style: TextStyle( | ||
fontWeight: FontWeight.w500, | ||
fontSize: 18, | ||
), | ||
), | ||
), | ||
const SizedBox(height: 10), | ||
SizedBox( | ||
height: size.height * 0.73, | ||
child: GridView.builder( | ||
itemCount: categories.length, | ||
padding: const EdgeInsets.only(top: 5), | ||
itemBuilder: (context, index) => Padding( | ||
padding: const EdgeInsets.all(8.0), | ||
child: Container( | ||
decoration: BoxDecoration( | ||
borderRadius: BorderRadius.circular(10), | ||
color: primaryColor, | ||
), | ||
child: Column( | ||
children: [ | ||
Container( | ||
height: 115, | ||
decoration: BoxDecoration( | ||
borderRadius: BorderRadius.circular(10), | ||
image: DecorationImage( | ||
image: AssetImage( | ||
'assets/images/sub_categories/others/${categories[index].toLowerCase()}.jpg', | ||
), | ||
fit: BoxFit.cover | ||
), | ||
), | ||
), | ||
const SizedBox(height: 2), | ||
Text( | ||
categories[index], | ||
maxLines: 1, | ||
overflow: TextOverflow.ellipsis, | ||
style: const TextStyle( | ||
color: Colors.white, | ||
), | ||
), | ||
], | ||
), | ||
), | ||
), | ||
gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount( | ||
mainAxisSpacing: 10, | ||
crossAxisSpacing: 10, | ||
crossAxisCount: 2, | ||
), | ||
), | ||
), | ||
], | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
import '../../../constants/colors.dart'; | ||
|
||
class SneakersCategories extends StatelessWidget { | ||
const SneakersCategories({Key? key}) : super(key: key); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
Size size = MediaQuery.of(context).size; | ||
|
||
final categories = [ | ||
'Adidas', | ||
'Fila', | ||
'Nike', | ||
'Reebok', | ||
]; | ||
|
||
return Column( | ||
children: [ | ||
const Padding( | ||
padding: EdgeInsets.only(top: 10.0), | ||
child: Text( | ||
'Sneakers categories', | ||
style: TextStyle( | ||
fontWeight: FontWeight.w500, | ||
fontSize: 18, | ||
), | ||
), | ||
), | ||
const SizedBox(height: 10), | ||
SizedBox( | ||
height: size.height * 0.73, | ||
child: GridView.builder( | ||
itemCount: categories.length, | ||
padding: const EdgeInsets.only(top: 5), | ||
itemBuilder: (context, index) => Padding( | ||
padding: const EdgeInsets.all(8.0), | ||
child: Container( | ||
decoration: BoxDecoration( | ||
borderRadius: BorderRadius.circular(10), | ||
color: primaryColor, | ||
), | ||
child: Column( | ||
children: [ | ||
Container( | ||
height: 115, | ||
decoration: BoxDecoration( | ||
borderRadius: BorderRadius.circular(10), | ||
image: DecorationImage( | ||
image: AssetImage( | ||
'assets/images/sub_categories/sneakers/${categories[index].toLowerCase()}.jpg', | ||
), | ||
fit: BoxFit.cover | ||
), | ||
), | ||
), | ||
const SizedBox(height: 2), | ||
Text( | ||
categories[index], | ||
maxLines: 1, | ||
overflow: TextOverflow.ellipsis, | ||
style: const TextStyle( | ||
color: Colors.white, | ||
), | ||
), | ||
], | ||
), | ||
), | ||
), | ||
gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount( | ||
mainAxisSpacing: 10, | ||
crossAxisSpacing: 10, | ||
crossAxisCount: 2, | ||
), | ||
), | ||
), | ||
], | ||
); | ||
} | ||
} |
Oops, something went wrong.