{"id":19185571,"url":"https://github.com/flutter-view/flutter-view-widgets","last_synced_at":"2026-01-11T04:45:42.651Z","repository":{"id":56830461,"uuid":"158000970","full_name":"flutter-view/flutter-view-widgets","owner":"flutter-view","description":"Optional library of Flutter Dart tools for flutter-view","archived":false,"fork":false,"pushed_at":"2022-05-03T14:30:50.000Z","size":31194,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-08T00:53:12.756Z","etag":null,"topics":["dart","flutter","flutter-view","library","tools"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"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/flutter-view.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}},"created_at":"2018-11-17T16:04:30.000Z","updated_at":"2023-01-02T03:16:11.000Z","dependencies_parsed_at":"2022-09-09T16:23:03.586Z","dependency_job_id":null,"html_url":"https://github.com/flutter-view/flutter-view-widgets","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutter-view%2Fflutter-view-widgets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutter-view%2Fflutter-view-widgets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutter-view%2Fflutter-view-widgets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutter-view%2Fflutter-view-widgets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flutter-view","download_url":"https://codeload.github.com/flutter-view/flutter-view-widgets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252978729,"owners_count":21834914,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["dart","flutter","flutter-view","library","tools"],"created_at":"2024-11-09T11:10:58.200Z","updated_at":"2026-01-11T04:45:42.625Z","avatar_url":"https://github.com/flutter-view.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flutter-view Widgets\n\n\u003e Notice: flutter_view_widgets replaces the flutter_view_tools library, which can no longer maintained due to a loss of Dart pub credentials.\n\n\u003e Notice: version 2.0.0 and up support null safety, and because of this may not be compatible with legacy code. Use the earlier versions if you use Dart before 2.12.\n\nFlutter-view is a tool that lets you easily create layouts for Flutter, using Pug and Sass.\n\n[http://flutter-view.io](http://flutter-view.io)\n\nThis package adds some widgets that allow some extra functionality for flutter-view, and are highly recommended for your flutter-view projects.\n\nCheck out the [documentation](https://docs.flutter-view.io/get-started/installation#installing-flutter-view-widgets) on how to get started with this library in your own flutter-view project.\nCheck out the [example project](./example) for a simple project that uses all supported widgets.\n\nThe library adds the following widgets:\n\n## Lifecycle\n\nA stateful widget that lets you hook into different [lifecycle events](https://flutter.io/docs/development/ui/widgets-intro#responding-to-widget-lifecycle-events) of its state, such as **initState**, **render** and **dispose**. You can use these hooks for updating and cleaning up in your view-model.\n\n[Documentation](https://docs.flutter-view.io/reference/tag-shortcuts#lifecycle)\n\n## ReactiveWidget\n\nA wrapper of a Flutter **StreamWidget**, that monitors a **Listenable** such as a **[ChangeNotifier](https://docs.flutter.dev/development/data-and-backend/state-mgmt/simple#changenotifier)**, or  **[Model](https://pub.dartlang.org/documentation/scoped_model/latest/scoped_model/Model-class.html)** and triggers an update when that **Listenable** updates. This allows for your tree of widgets to respond to model updates.\n\n[Documentation](https://docs.flutter-view.io/reference/tag-shortcuts#reactive)\n| [Usage guide](https://docs.flutter-view.io/guide/writing-reactive-code)\n\n## Reactive\n\nA small wrapper for any value, making it listenable. This lets you make any value listenable, instead of having to extend **Model** or **ChangeNotifier**.\n\n### Example:\n```Dart\nfinal user = Reactive(User(name: 'John'));\nuser.addListener(() { print('updated'); });\nprint(user.value); // prints John\nuser.value = 'Mary'; // prints 'updated'\nprint(user.value); // prints Mary\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflutter-view%2Fflutter-view-widgets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflutter-view%2Fflutter-view-widgets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflutter-view%2Fflutter-view-widgets/lists"}