implements tags
This commit is contained in:
@@ -190,7 +190,7 @@ class _HomeScreenState extends State<HomeScreen> {
|
||||
? SizedBox(
|
||||
height: MediaQuery.of(context).size.height * 0.28,
|
||||
child: ListView.builder(
|
||||
itemCount: 5, // Show 5 skeleton items
|
||||
itemCount: 5,
|
||||
scrollDirection: Axis.horizontal,
|
||||
itemBuilder: (context, index) {
|
||||
double cardWidth = MediaQuery.of(context).size.width * 0.4;
|
||||
@@ -374,10 +374,10 @@ class _HomeScreenState extends State<HomeScreen> {
|
||||
style: context.customMedium(
|
||||
Colors.grey.withOpacity(0.8), 12),
|
||||
),
|
||||
SizedBox(
|
||||
height:
|
||||
MediaQuery.of(context).size.height *
|
||||
0.005),
|
||||
// SizedBox(
|
||||
// height:
|
||||
// MediaQuery.of(context).size.height *
|
||||
// 0.005),
|
||||
const Spacer(),
|
||||
Row(
|
||||
children: [
|
||||
@@ -389,7 +389,7 @@ class _HomeScreenState extends State<HomeScreen> {
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: context.customSemiBold(
|
||||
Colors.black, 12),
|
||||
Colors.black, 11),
|
||||
),
|
||||
Text(
|
||||
"\$${bestdealproduct.basePrice ?? ""}",
|
||||
@@ -671,7 +671,7 @@ class _HomeScreenState extends State<HomeScreen> {
|
||||
return provider.isLoadingg
|
||||
? GridView.builder(
|
||||
shrinkWrap: true,
|
||||
itemCount: 8, // Show 8 skeleton items
|
||||
itemCount: 8,
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
|
||||
crossAxisCount: 4,
|
||||
|
||||
Reference in New Issue
Block a user