{"id":13548968,"url":"https://github.com/Antoinegtir/iPhone","last_synced_at":"2025-04-02T22:31:10.655Z","repository":{"id":184659875,"uuid":"672273629","full_name":"Antoinegtir/iPhone","owner":"Antoinegtir","description":"Package that allow to display an iPhone on your website, portfolio and showcase your best app !","archived":false,"fork":false,"pushed_at":"2023-07-29T15:17:00.000Z","size":928,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-03T18:34:02.981Z","etag":null,"topics":["flutter","iphone","package","pub-dev"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/iphone","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Antoinegtir.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null}},"created_at":"2023-07-29T14:07:02.000Z","updated_at":"2024-10-27T13:40:23.000Z","dependencies_parsed_at":"2024-01-16T18:23:41.870Z","dependency_job_id":null,"html_url":"https://github.com/Antoinegtir/iPhone","commit_stats":null,"previous_names":["antoinegtir/iphone"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antoinegtir%2FiPhone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antoinegtir%2FiPhone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antoinegtir%2FiPhone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antoinegtir%2FiPhone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Antoinegtir","download_url":"https://codeload.github.com/Antoinegtir/iPhone/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246905098,"owners_count":20852810,"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":["flutter","iphone","package","pub-dev"],"created_at":"2024-08-01T12:01:16.639Z","updated_at":"2025-04-02T22:31:09.827Z","avatar_url":"https://github.com/Antoinegtir.png","language":"Dart","funding_links":[],"categories":["Dart"],"sub_categories":[],"readme":"# iPhone\n\u003ca href=\"http://antoine-gonthier.web.app\"\u003e\u003cimg src=\"https://firebasestorage.googleapis.com/v0/b/antoine-gonthier.appspot.com/o/iphone-min.png?alt=media\u0026token=f94ca61f-e34e-4359-a4fd-9591d18b86ed\"\u003e\u003c/img\u003e\u003c/a\u003e\n\n\n# Demo Preview\n\n\u003cimg src=\"https://firebasestorage.googleapis.com/v0/b/antoine-gonthier.appspot.com/o/preview-min.png?alt=media\u0026token=5ae93155-b05d-411f-a72f-372aee3d49f8\"\u003e\u003c/img\u003e\n\nThe `iphone` package allow you to display an iphone really easily for your website UI and showcase your application, wallpaper really easy!\n\n## Features\n\n- Displayn iPhone on web for portfolio\n- Choose color of iPhone\n- Choose the application you wanna display\n\n#### Installation\n\nClick here: \u003ca href=\"https://pub.dev/packages/iphone\"\u003ePub dev\u003c/a\u003e\n\nAdd the following dependency to your pubspec.yaml file:\n\n```\ndependencies:\n    iphone: ^0.0.1\n```\n\nThen, run `flutter pub get` to fetch the package.\n\n## Usage\n\n- import the iphone package: ```import 'package:iphone/iphone.dart';```\n\n\n#### iPhone Color\n3 colors are currently implemented for the iPhone 14: dark, purple, yellow\n\n```\niphoneColor: ColorIPhone.dark,\n```\n\n#### iPhone Wallpaper\nstock in `assets` folder your wallpaper image and dipslay it on your iphone easily\n```\nwallpaper: \"assets/wallpaper.jpg\",\n```\n\n#### iPhone Apps\nyou can easily display your application on your iphone using a kind of json format where you can place the name of the app, the path of the logo stock in `assets` folder\n```\napplications: [\n    {\n        \"name\": \"Instagram\",\n        \"iconAssets\": \"assets/icons/instagram.jpg\",\n        \"onPressed\": () {\n            // do something like a true onPressed such as route to other page...\n        },\n        },\n    {\n        \"name\": \"Facebook\",\n        \"iconAssets\": \"assets/icons/facebook.png\",\n        \"onPressed\": () async {\n            // do something like a true onPressed such as route to other page...\n        },\n    }\n]\n```\n\n#### iPhone Bottom Apps\nSame things as basic Apps but display max 4 apps, those are the most important !\n```\nbottomApplications: [\n    {\n        \"name\": \"Safari\",\n        \"iconAssets\": \"assets/icons/safari.jpg\",\n        \"onPressed\": () {\n            // do something like a true onPressed such as route to other page...\n        },\n        },\n    {\n        \"name\": \"AppStore\",\n        \"iconAssets\": \"assets/icons/appstore.png\",\n        \"onPressed\": () async {\n            // do something like a true onPressed such as route to other page...\n        },\n    }\n]\n```\n\n\nThe project is only at the beginning, there are still a lot of type of phone to add only iPhone 14 are implemented ❤️","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAntoinegtir%2FiPhone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAntoinegtir%2FiPhone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAntoinegtir%2FiPhone/lists"}