{"id":21748385,"url":"https://github.com/surfstudio/flutter-ink-widget","last_synced_at":"2025-07-19T00:32:00.385Z","repository":{"id":46383376,"uuid":"384333012","full_name":"surfstudio/flutter-ink-widget","owner":"surfstudio","description":null,"archived":true,"fork":false,"pushed_at":"2023-04-24T11:17:06.000Z","size":74,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-29T19:22:20.489Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/surfstudio.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":"2021-07-09T05:38:59.000Z","updated_at":"2024-04-08T13:25:17.000Z","dependencies_parsed_at":"2022-08-31T08:52:21.929Z","dependency_job_id":null,"html_url":"https://github.com/surfstudio/flutter-ink-widget","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/surfstudio/flutter-ink-widget","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surfstudio%2Fflutter-ink-widget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surfstudio%2Fflutter-ink-widget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surfstudio%2Fflutter-ink-widget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surfstudio%2Fflutter-ink-widget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/surfstudio","download_url":"https://codeload.github.com/surfstudio/flutter-ink-widget/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surfstudio%2Fflutter-ink-widget/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265863727,"owners_count":23840883,"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-11-26T08:13:19.275Z","updated_at":"2025-07-19T00:32:00.084Z","avatar_url":"https://github.com/surfstudio.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ink Widget\n\n[![Build Status](https://shields.io/github/workflow/status/surfstudio/SurfGear/build?logo=github\u0026logoColor=white)](https://github.com/surfstudio/SurfGear/tree/main/packages/ink_widget)\n[![Coverage Status](https://img.shields.io/codecov/c/github/surfstudio/SurfGear?flag=ink_widget\u0026logo=codecov\u0026logoColor=white)](https://codecov.io/gh/surfstudio/SurfGear)\n[![Pub Version](https://img.shields.io/pub/v/ink_widget?logo=dart\u0026logoColor=white)](https://pub.dev/packages/ink_widget)\n[![Pub Likes](https://badgen.net/pub/likes/ink_widget)](https://pub.dev/packages/ink_widget)\n[![Pub popularity](https://badgen.net/pub/popularity/ink_widget)](https://pub.dev/packages/ink_widget/score)\n![Flutter Platform](https://badgen.net/pub/flutter-platform/ink_widget)\n\nThis package made by [Surf](https://surf.ru/).\n\n## Description\n\nWidget library with ink effect without problems with decoration for child.\n\n## Installation\n\nAdd ink widget to your `pubspec.yaml` file:\n\n```yaml\ndependencies:\n  ink_widget: ^2.0.0\n```\n\n## Example\n\n```dart\nCenter(\n  child: Column(\n    mainAxisAlignment: MainAxisAlignment.center,\n    children: \u003cWidget\u003e[\n      InkWidget(\n        onTap: () {},\n        splashColor: Colors.green,\n        child: const Text('default InkWidget'),\n      ),\n      const SizedBox(height: 20),\n      InkWidget(\n        disable: true,\n        onTap: () {},\n        child: const Text('disable InkWidget'),\n      ),\n      const SizedBox(height: 20),\n      InkWidget(\n        shapeBorder: const RoundedRectangleBorder(\n          borderRadius: BorderRadius.all(Radius.circular(20)),\n        ),\n        onTap: () {},\n        child: Container(\n          padding: const EdgeInsets.all(10),\n          decoration: const BoxDecoration(\n            color: Colors.red,\n            borderRadius: BorderRadius.all(\n              Radius.circular(20),\n            ),\n          ),\n          child: const Text('Container with BoxDecoration'),\n        ),\n        ),\n        const SizedBox(height: 20),\n        InkWidget(\n          onTap: () {},\n          inkWellWidget: InkWell(onTap: () {}),\n          child: const Text('Custom InkWell (see code)'),\n        ),\n        const SizedBox(height: 20),\n        InkWidget(\n          disable: true,\n          onTap: () {},\n          disableWidget: Container(\n            height: 50,\n            color: Colors.white.withOpacity(.2),\n            child: const Align(\n              alignment: Alignment.bottomLeft,\n              child: Text('text in disableWidget'),\n            ),\n          ),\n          child: const Text('Custom disableWidget (see code)'),\n        ),\n    ],\n  ),\n),\n```\n\nYou can use both `stable` and `dev` versions of the package listed above in the badges bar.\n\n## Changelog\n\nAll notable changes to this project will be documented in [this file](./CHANGELOG.md).\n\n## Issues\n\nFor issues, file directly in the Issues section.\n\n## Contribute\n\nIf you would like to contribute to the package (e.g. by improving the documentation, solving a bug or adding a cool new feature), please review our [contribution guide](../../CONTRIBUTING.md) first and send us your pull request.\n\nYour PRs are always welcome.\n\n## How to reach us\n\nPlease feel free to ask any questions about this package. Join our community chat on Telegram. We speak English and Russian.\n\n[![Telegram](https://img.shields.io/badge/chat-on%20Telegram-blue.svg)](https://t.me/SurfGear)\n\n## License\n\n[Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurfstudio%2Fflutter-ink-widget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsurfstudio%2Fflutter-ink-widget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurfstudio%2Fflutter-ink-widget/lists"}