[GOOD FIRST ISSUE]: ProfileScreen settings tiles do not display their leading icons

Open Beginner friendly
#77 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
85/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
dart, flutter
Domain
frontend, mobile

Research direction

Read lib/ui/users/widgets/profile_screen.dart and locate _buildTile(...) to see how each tile builds its row. Then check test/users/widgets/profile_screen_test.dart for the existing widget test setup and add coverage for the leading icons. The issue is done when the tiles display their icons with suitable sizing and spacing, the layout scales across device sizes, and the widget tests verify the icons.

Written by the indexing model from the issue text.

Description

good first issue
Context

In lib/ui/users/widgets/profile_screen.dart, the helper method _buildTile(...) accepts a required IconData icon parameter, and each tile (Theme, Payment History, Manage Friends and Groups, Invite Friends, Feedback, Contact Us) passes an icon. However, inside _buildTile, the Row only renders title and trailing, completely omitting the leading Icon(icon).

What Needs to Be Done

Add the leading Icon with appropriate sizing and spacing before the tile's title, ensuring it scales cleanly across device sizes. Add widget test coverage in test/users/widgets/profile_screen_test.dart to verify tile icons are rendered

Resources
Getting Started
  • I have joined the Discord server and will post updates there
  • I have read the Contribution Guide
  • I understand this issue is assigned on a first-come, first-served basis
Dominant language
Dart
Stars
20
Forks
39
Avg merge
3d 12h
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from StabilityNexus/Zplit

All issues in StabilityNexus/Zplit

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.