Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Fix parent widget run debug error #15

Merged
merged 1 commit into from
Jun 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 25 additions & 20 deletions lib/pages/home/community.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class _CommunityState extends State<Community> {
const SizedBox(height: 4),
Text(
label,
style: TextStyle(color: iconColor, fontSize: 12),
style: TextStyle(color: iconColor, fontSize: 9),
),
],
),
Expand All @@ -48,25 +48,30 @@ class _CommunityState extends State<Community> {
alignment: WrapAlignment.center,
runSpacing: 8.0,
children: [
Expanded(
child:
buildCategoryButton(Icons.home, "FOR YOU", Colors.orange),
),
Expanded(
child: buildCategoryButton(
Icons.check_box, "ENTHUSIASTS", Colors.green),
),
Expanded(
child: buildCategoryButton(
Icons.person_add, "NEW USERS", Colors.red),
),
Expanded(
child:
buildCategoryButton(Icons.people, "ACTIVE", Colors.green),
),
Expanded(
child: buildCategoryButton(
Icons.visibility, "VISITORS", Colors.black),
Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
Expanded(
child: buildCategoryButton(
Icons.home, "FOR YOU", Colors.orange),
),
Expanded(
child: buildCategoryButton(
Icons.check_box, "ENTHUSIASTS", Colors.green),
),
Expanded(
child: buildCategoryButton(
Icons.person_add, "NEW USERS", Colors.red),
),
Expanded(
child: buildCategoryButton(
Icons.people, "ACTIVE", Colors.green),
),
Expanded(
child: buildCategoryButton(
Icons.visibility, "VISITORS", Colors.black),
),
],
),
],
),
Expand Down