{"id":18048380,"url":"https://github.com/rahiche/flutter_x","last_synced_at":"2025-04-10T09:51:25.684Z","repository":{"id":138284659,"uuid":"216036307","full_name":"Rahiche/flutter_x","owner":"Rahiche","description":" Use the Power of Dart extensions to build Flutter widgets.","archived":false,"fork":false,"pushed_at":"2020-03-17T03:49:26.000Z","size":71,"stargazers_count":21,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T08:47:19.730Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rahiche.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":"2019-10-18T13:59:18.000Z","updated_at":"2023-10-07T05:40:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"23649d78-9b6d-46da-b736-f417634d0a87","html_url":"https://github.com/Rahiche/flutter_x","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rahiche%2Fflutter_x","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rahiche%2Fflutter_x/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rahiche%2Fflutter_x/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rahiche%2Fflutter_x/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rahiche","download_url":"https://codeload.github.com/Rahiche/flutter_x/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248197879,"owners_count":21063623,"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":[],"created_at":"2024-10-30T20:12:34.079Z","updated_at":"2025-04-10T09:51:25.663Z","avatar_url":"https://github.com/Rahiche.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flutter_x\n\nUse the Power of Dart extensions to build Flutter widgets. most of these extension are just wrapping your widget with another one so instead of trying to compose widgets to add new functionality try to extend it.\n\n\n### This Project is POC\nI am ready to change any API if I find something better\nAlso I don't agree 100% with the conventions used here\nSo any contribution is welcome\n\n### The Goal\nThe goal of this library is not to replace the current widgets comopsiting system. but it can be a good way to protopye your ideas faster.\n\n### Installation \n\n```yaml\ndependencies:\n  flutter:\n    sdk: flutter\n  flutter_x:\n    git: https://github.com/Rahiche/flutter_x\n```\n\n\n### Sample\n\n```dart\n  @override\n  Widget build(BuildContext context) {\n    return Stack(\n      children: \u003cWidget\u003e[\n        10.hWidgets(Text(\"Hi \")),\n        // Row(\n        //       children: \u003cWidget\u003e[\n        //         for (int i = 0; i \u003c this.toInt(); i++) child,\n        //       ],\n        //     )\n\n        Colors.green.toWidget(100,100),\n        // Container(color: Colors.green, width: 100, height: 100)\n\n        [\"Hello \", \"Hi \", \"Hola \"].toRow().toScrollable(),\n        // SingleChildScrollView(\n        //          child: Row(\n        //              children: [\"Hello \", \"Hi \", \"Hola \"]\n        //                  .map((value) =\u003e Text(value))\n        //                  .toList()),\n        //          scrollDirection: (this is Row) ? Axis.horizontal : Axis.vertical,\n        //        )\n\n        Colors.red.toWidget(100, 100).rotate().slide().scale()\n        // TODO: I m just lazy to write all of it so now i remember why i created this lib\n      ],\n    );\n  }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frahiche%2Fflutter_x","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frahiche%2Fflutter_x","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frahiche%2Fflutter_x/lists"}