{"id":16382282,"url":"https://github.com/iamsahdeep/flutter2048","last_synced_at":"2025-08-25T07:17:16.775Z","repository":{"id":107434361,"uuid":"161831890","full_name":"iamSahdeep/flutter2048","owner":"iamSahdeep","description":"An example of using flutter webplugin for local files","archived":false,"fork":false,"pushed_at":"2018-12-14T20:09:49.000Z","size":1087,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-14T06:04:53.159Z","etag":null,"topics":["2048-game","flutter","flutter-apps","flutter-examples","game"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iamSahdeep.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2018-12-14T19:33:54.000Z","updated_at":"2020-12-14T08:25:59.000Z","dependencies_parsed_at":"2023-05-17T11:30:23.792Z","dependency_job_id":null,"html_url":"https://github.com/iamSahdeep/flutter2048","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iamSahdeep/flutter2048","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamSahdeep%2Fflutter2048","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamSahdeep%2Fflutter2048/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamSahdeep%2Fflutter2048/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamSahdeep%2Fflutter2048/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamSahdeep","download_url":"https://codeload.github.com/iamSahdeep/flutter2048/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamSahdeep%2Fflutter2048/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272022420,"owners_count":24860185,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["2048-game","flutter","flutter-apps","flutter-examples","game"],"created_at":"2024-10-11T04:04:51.888Z","updated_at":"2025-08-25T07:17:16.728Z","avatar_url":"https://github.com/iamSahdeep.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flutter2048\n\n I have just started learning Flutter. It is an Example of loading local html files (2048 game) with Flutter webView. Only 25 lines of code :)\n \n### Download App\n\u003ca href='https://play.google.com/store/apps/details?id=com.sahdeepsingh.flutter2048\u0026pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'\u003e\u003cimg alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png' width=\"200\" height=\"100\"/\u003e\u003c/a\u003e\n\n## Plugins Used\n  - \u003ca href=\"https://github.com/fluttercommunity/flutter_webview_plugin\"\u003e flutter_webview_plugin \u003c/a\u003e for webView\n  - \u003ca href=\"https://github.com/fluttercommunity/flutter_launcher_icons\"\u003e flutter_launcher_icons \u003c/a\u003e for icon regeneration\n  - Link to the original game https://github.com/uberspot/2048/tree/7986ea0432fc9fd6634dfeaff3b966ecb7aa78de\n\n## Screenshots\n\n\u003cimg src=\"assets/1.jpeg\" width=\"200\" height=\"340\"\u003e - \u003cimg src=\"assets/2.jpeg\" width=\"200\" height=\"340\"\u003e\n\n\u003cimg src=\"assets/3.jpeg\" width=\"200\" height=\"340\"\u003e - \u003cimg src=\"assets/4.jpeg\" width=\"200\" height=\"340\"\u003e\n\n\n### How to use flutter_webview_plugin for local files?\n - Add your files in the ```android/app/src/main/assets``` \n - use the url like this \n    ```  \n    return WebviewScaffold(\n      url: 'file:///android_asset/index.html',\n      allowFileURLs: true,\n      withZoom: false,\n    );\n    ```\n - check this issue for more info https://github.com/fluttercommunity/flutter_webview_plugin/issues/23\n\n\n### Licence\n```\nMIT License\n\nCopyright (c) 2018 Sahdeep Singh\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n\n## Getting Started\n\nFor help getting started with Flutter, view our online\n[documentation](https://flutter.io/).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamsahdeep%2Fflutter2048","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamsahdeep%2Fflutter2048","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamsahdeep%2Fflutter2048/lists"}