{"id":32267566,"url":"https://github.com/fayaz07/app_intro","last_synced_at":"2025-10-22T22:02:51.033Z","repository":{"id":56826167,"uuid":"168571976","full_name":"fayaz07/app_intro","owner":"fayaz07","description":"A library for flutter app, that can easily show some introduction screens to the user and describe about the app","archived":false,"fork":false,"pushed_at":"2020-06-26T11:04:46.000Z","size":9388,"stargazers_count":9,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-08-20T21:25:30.581Z","etag":null,"topics":["introduction","onboarding-screen"],"latest_commit_sha":null,"homepage":"https://pub.dartlang.org/packages/app_intro","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fayaz07.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":"2019-01-31T18:07:47.000Z","updated_at":"2022-12-19T21:49:29.000Z","dependencies_parsed_at":"2022-09-13T08:12:29.790Z","dependency_job_id":null,"html_url":"https://github.com/fayaz07/app_intro","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/fayaz07/app_intro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fayaz07%2Fapp_intro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fayaz07%2Fapp_intro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fayaz07%2Fapp_intro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fayaz07%2Fapp_intro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fayaz07","download_url":"https://codeload.github.com/fayaz07/app_intro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fayaz07%2Fapp_intro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280520831,"owners_count":26344439,"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-10-22T02:00:06.515Z","response_time":63,"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":["introduction","onboarding-screen"],"created_at":"2025-10-22T22:01:33.478Z","updated_at":"2025-10-22T22:02:51.016Z","avatar_url":"https://github.com/fayaz07.png","language":"Dart","funding_links":["https://www.buymeacoffee.com/fayaz"],"categories":[],"sub_categories":[],"readme":"# App Intro\nA light weight package that helps developers easily provide few introduction screens and describe about their app\n\n[Get the library](https://pub.dartlang.org/packages/app_intro)   |   [Example](https://github.com/fayaz07/app_intro/tree/master/example) \n\n[![](https://img.shields.io/badge/dontate-Buy%20Me%20a%20Coffee-blueviolet)](https://www.buymeacoffee.com/fayaz) \u0026nbsp; \n[![LinkedIn](https://img.shields.io/badge/LinkedIn-in-0e76a8)](https://www.linkedin.com/in/fayaz07) \u0026nbsp; [![Follow](https://img.shields.io/github/followers/fayaz07?style=social)](https://github.com/fayaz07) \u0026nbsp; [![Fork](https://img.shields.io/github/forks/fayaz07/app_intro?style=social)](https://github.com/fayaz07/app_intro/fork) \u0026nbsp; [![Star](https://img.shields.io/github/stars/fayaz07/app_intro?style=social)](https://github.com/fayaz07/app_intro/star) \u0026nbsp; [![Watches](https://img.shields.io/github/watchers/fayaz07/app_intro?style=social)](https://github.com/fayaz07/app_intro/) \n\n[![Get the library](https://img.shields.io/badge/Get%20library-pub-blue)](https://pub.dartlang.org/packages/app_intro) \u0026nbsp; [![Example](https://img.shields.io/badge/Example-Ex-success)](https://github.com/fayaz07/app_intro/tree/master/example)\n\n\n\n## Supported Dart Versions\n**Dart SDK version \u003e= 2.1.0**\n\n\n\n## Demo\n\u003cimg src=\"https://raw.githubusercontent.com/fayaz07/app_intro/master/single_button_app_intro.gif\" width=\"350\" height=\"620\" alt=\"Demo\" /\u003e\n\n\n# Usage\n\u003e Import the package to your dart file\n```dart\nimport 'package:app_intro/app_intro.dart';\n```\n\n\u003e Get ready with the stuff\n\nCollect titles, description and relevant images for slides. Create a list of slides and pass it as a parameter\n*Note: Image path must be local\n\n```dart\nList\u003cSlide\u003e slides= [\n    new Slide('Title-1','Description-1','image-1-path'),\n    new Slide('Title-2','Description-2','image-2-path'),\n    new Slide('Title-3','Description-3','image-3-path'),\n    new Slide('Title-4','Description-4','image-4-path'),\n    ...\n  ];\n```\n\nThe user is provided with two buttons\n* Terms and Conditions\n* General Button(You must provide what text should be shown there)\n\nCreate a terms and conditions page for your app and you can navigate to TnC page when the user clicks on the Terms and Conditions button. Also when these intro slides are finished, user clicks on Gerneral button, write the code what you need to do at then as below.\n\n```dart\nVoidCallback onTermsAndConditionsButtonClick = (){\n// Write your code\n// Ex: Navigating to Terms and Conditions Screen\n}\n\nVoidCallback onGeneralButtonClick = (){\n// Write your code\n// Ex: Navigating to home screen\n}\n```\n\n\u003e Name the button\n\nYou should specify the name or text that should be shown on the button\n```dart\nString button_text = 'Login with OTP';\n```\n\n\u003e Create an instance of SingleButtonIntro\n\nCreate an instance for SingleButtonIntro and pass the variables you just created. \n*Note: No optional parameters here \n```dart\nSingleButtonIntro app_intro = new SingleButtonIntro(\n                                    slides,\n                                    onTermsAndConditionsButtonClick,\n                                    button_text,\n                                    onGeneralButtonClick\n                                    );\n```\n\u003e Attatch app_intro to root\n\nThe final step is to place the app_intro object in the body of your screen\n```dart\nvoid main(){\n    runApp(\n        MaterialApp(\n          title: 'Intro Screens',\n          home:_appIntro,\n        )\n  );\n}\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffayaz07%2Fapp_intro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffayaz07%2Fapp_intro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffayaz07%2Fapp_intro/lists"}