Rename `errorWidget` to `errorBuilder`

Open Beginner friendly
#492 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Stale
Tech stack
dart, flutter
Domain
mobile

Research direction

Locate every reference to errorWidget and compare its usage with the imageBuilder method. Rename the API and its references to errorBuilder, then run the repository's available tests and confirm no errorWidget references remain.

Written by the indexing model from the issue text.

Description

The name of errorWidget is misleading, as it is actually expecting a builder function, not a widget. Should be renamed to errorBuilder , which will also align it with the imageBuilder method.

Dominant language
Dart
Stars
2.6k
Forks
731
Avg merge
4d 12h
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

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 Baseflow/flutter_cached_network_image

All issues in Baseflow/flutter_cached_network_image

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.