{"id":32268253,"url":"https://github.com/maxbritto/extension_flutter_tools","last_synced_at":"2026-02-22T17:09:35.691Z","repository":{"id":187654625,"uuid":"491436997","full_name":"maxbritto/extension_flutter_tools","owner":"maxbritto","description":"Useful Widgets and class extensions for Flutter apps","archived":false,"fork":false,"pushed_at":"2025-05-28T12:11:21.000Z","size":46,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-22T22:22:55.327Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.purplegiraffe.fr","language":"Dart","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxbritto.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-12T08:56:25.000Z","updated_at":"2025-05-28T12:11:25.000Z","dependencies_parsed_at":"2024-08-23T09:22:20.040Z","dependency_job_id":"20efc646-3c70-4a86-a198-ec17d46e84ff","html_url":"https://github.com/maxbritto/extension_flutter_tools","commit_stats":null,"previous_names":["maxbritto/extension_flutter_tools"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/maxbritto/extension_flutter_tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbritto%2Fextension_flutter_tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbritto%2Fextension_flutter_tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbritto%2Fextension_flutter_tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbritto%2Fextension_flutter_tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxbritto","download_url":"https://codeload.github.com/maxbritto/extension_flutter_tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbritto%2Fextension_flutter_tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29719641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T15:10:41.462Z","status":"ssl_error","status_checked_at":"2026-02-22T15:10:04.636Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-22T22:10:39.375Z","updated_at":"2026-02-22T17:09:35.683Z","avatar_url":"https://github.com/maxbritto.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- \nThis README describes the package. If you publish this package to pub.dev,\nthis README's contents appear on the landing page for your package.\n\nFor information about how to write a good package README, see the guide for\n[writing package pages](https://dart.dev/guides/libraries/writing-package-pages). \n\nFor general information about developing packages, see the Dart guide for\n[creating packages](https://dart.dev/guides/libraries/create-library-packages)\nand the Flutter guide for\n[developing packages and plugins](https://flutter.dev/developing-packages). \n--\u003e\n\nUseful Widgets and class extensions for Flutter apps\n\n## Features\n\n### Widgets\n\n- `CopyToClipboardButton` : A button that will copy a text to the clipboard when pressed. The text to copy is passed as a parameter to the widget.\n- `ConfirmWrapper` : Wrap any tappable widget with a graphical confirmation from the user. Useful for delete button, dangerous operations, etc.\n- `DateTimeButton` : A button that allows the user to select a date (and optionnaly a time). The buttons displays the selected date.\n- `EditableLabel` : A simple text with an edit button next to it. When clicked, a `TextField` allows to edit the value and save it.\n- `NetworkOrFileImage` : A widgets that receives an image Uri and checks if it is a local image, an app asset or a network url. Then uses the correct API to fetch and display the image. For network images, it uses the [cached_network_image](https://pub.dev/packages/cached_network_image) library to download and cache the image before displaying it.\n- `ErrorView` : A simple ErrorView with at minimum a *title*, but can also have a *subtitle*, *details* (with a disclose button), a configurable *fix it* button.\n\n### Extensions :\n\n- `Color` to hexadecimal : allows conversion from `Color` objects to a `String` Hexadecimal representation and also in reverse order (from `String` to `Color`)\n\n### Test tools\n\nAdded some static functions useful for unit tests for Flutter apps.\n\n- `runTestableWidgetScreen` and `runTestableComponent` allow to launch a widget for testing with some parameters\n- `loadStringFromFile` allows to load a string from a file in any test. Useful for loading JSON files for example.\n- `generateLongString` generates a string of a given length and optionnaly we can decide which repeating character should be used. Useful for testing long texts in UI of widgets.\n\n## Getting started\n\nAdd the package as a dependency in your pubspec.yaml file\n\n```yaml\ndependencies:\n  flutter:\n    sdk: flutter\n\n  extension_flutter_tools:\n    git: https://github.com/maxbritto/extension_flutter_tools.git\n```\n\n## External contributions\n\nIf you want to add new widgets or extensions, please keep in mind before submitting a PR :\n\n- Widgets and extensions must be generic enough to be usable in many projects\n- Unit tests and automated tests are mandatory. 100% coverage is required for any newly added code\n\nThanks for your contributions!\n\nHappy Coding.\n\nMaxime\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxbritto%2Fextension_flutter_tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxbritto%2Fextension_flutter_tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxbritto%2Fextension_flutter_tools/lists"}