{"id":21492923,"url":"https://github.com/tfaki/composablesweettoast","last_synced_at":"2025-07-15T19:30:38.348Z","repository":{"id":43704717,"uuid":"431441275","full_name":"tfaki/ComposableSweetToast","owner":"tfaki","description":"Jetpack Compose, Custom Toast, Solid Principles, Kotlin","archived":false,"fork":false,"pushed_at":"2023-04-01T00:36:52.000Z","size":1405,"stargazers_count":93,"open_issues_count":2,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T09:05:42.565Z","etag":null,"topics":["composable","customview","declerative-programming","jetpack-compose","kotlin","kotlin-android","toast","toast-message"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/tfaki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["tfaki"]}},"created_at":"2021-11-24T10:31:12.000Z","updated_at":"2025-03-20T16:26:23.000Z","dependencies_parsed_at":"2024-11-23T15:34:43.655Z","dependency_job_id":"da2125f7-f7bd-4255-851e-1dfaabebe5ce","html_url":"https://github.com/tfaki/ComposableSweetToast","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/tfaki/ComposableSweetToast","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfaki%2FComposableSweetToast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfaki%2FComposableSweetToast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfaki%2FComposableSweetToast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfaki%2FComposableSweetToast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tfaki","download_url":"https://codeload.github.com/tfaki/ComposableSweetToast/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfaki%2FComposableSweetToast/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265454939,"owners_count":23768457,"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":["composable","customview","declerative-programming","jetpack-compose","kotlin","kotlin-android","toast","toast-message"],"created_at":"2024-11-23T15:34:31.757Z","updated_at":"2025-07-15T19:30:37.947Z","avatar_url":"https://github.com/tfaki.png","language":"Kotlin","funding_links":["https://github.com/sponsors/tfaki"],"categories":[],"sub_categories":[],"readme":"\n\n# Composable Sweet Toast \n[![](https://jitpack.io/v/TalhaFaki/ComposableSweetToast.svg)](https://jitpack.io/#TalhaFaki/ComposableSweetToast)\n[![](https://img.shields.io/badge/Android%20Arsenal-ComposableSweetToast-green.svg?style=flat)](https://android-arsenal.com/details/1/8260)\n\nA library that you can use in 4 different types(Success, Error, Warning, Info) written with Jetpack Compose. You can use this toast easy.\n\n## Tech Stack:\n* Kotlin \n* Jetpack Compose\n* Material Design\n* Solid Principles\n* Custom View from Toast\n\n## How to install ? \nYou can add the library to your project using jitpack.io.\n\nAdd the code below to your project's settings.gradle file.\n\n```\n allprojects {\n        repositories {\n            jcenter()\n            maven { url \"https://jitpack.io\" }\n        }\n   }\n```\n\n\nAdd the code below to your app's gradle file.\n```\nimplementation 'com.github.tfaki:ComposableSweetToast:$latest_version'\n```\n## Usage\n\nFor Sweet Success with Short Duration, Top Padding and Aligment : \n```\nSweetSuccess(message = \"Success Text!\", duration = Toast.LENGTH_SHORT, padding = PaddingValues(top = 16.dp), contentAlignment = Alignment.TopCenter)\n```\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/TalhaFaki/ComposableSweetToast/blob/master/success.gif\" alt=\"animated\" /\u003e\n\u003c/p\u003e\n  \nFor Sweet Error :\n```\nSweetError(message = \"Error Text!\")\n```\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/TalhaFaki/ComposableSweetToast/blob/master/error.gif\" alt=\"animated\" /\u003e\n\u003c/p\u003e\n\nFor Sweet Warning : \n```\nSweetWarning(message = \"Warning Text!\")\n```\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/TalhaFaki/ComposableSweetToast/blob/master/warning.gif\" alt=\"animated\" /\u003e\n\u003c/p\u003e\n\nFor Sweet Info : \n```\nSweetInfo(message = \"Info Text!\")\n```\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/TalhaFaki/ComposableSweetToast/blob/master/info.gif\" alt=\"animated\" /\u003e\n\u003c/p\u003e\n\n## Sample App: \n[Click here for MainScreen](https://github.com/TalhaFaki/ComposableSweetToast/blob/master/app/src/main/java/com/android/composablesweettoast/MainScreen.kt)\n\n``` xml\n\nMIT License\n\nCopyright (c) 2021 Talha Fakıoğlu\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftfaki%2Fcomposablesweettoast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftfaki%2Fcomposablesweettoast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftfaki%2Fcomposablesweettoast/lists"}