{"id":13552263,"url":"https://github.com/bizz84/pushable_button","last_synced_at":"2025-10-26T10:31:16.695Z","repository":{"id":61974239,"uuid":"365024746","full_name":"bizz84/pushable_button","owner":"bizz84","description":"A 3D pushable button built in Flutter. Ideal for important CTAs in the app.","archived":false,"fork":false,"pushed_at":"2024-08-14T03:39:07.000Z","size":798,"stargazers_count":31,"open_issues_count":6,"forks_count":12,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-06T17:57:33.104Z","etag":null,"topics":["flutter"],"latest_commit_sha":null,"homepage":"https://codewithandrea.com/","language":"Dart","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/bizz84.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-06T20:06:33.000Z","updated_at":"2024-12-14T17:20:48.000Z","dependencies_parsed_at":"2024-08-01T12:20:16.365Z","dependency_job_id":null,"html_url":"https://github.com/bizz84/pushable_button","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"fd058f1b51672ae2c96becab2286034867276d1b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bizz84%2Fpushable_button","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bizz84%2Fpushable_button/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bizz84%2Fpushable_button/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bizz84%2Fpushable_button/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bizz84","download_url":"https://codeload.github.com/bizz84/pushable_button/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238310326,"owners_count":19450840,"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"],"created_at":"2024-08-01T12:02:01.369Z","updated_at":"2025-10-26T10:31:16.281Z","avatar_url":"https://github.com/bizz84.png","language":"Dart","funding_links":[],"categories":["Dart"],"sub_categories":[],"readme":"# Pushable Button\n\n[![Pub](https://img.shields.io/pub/v/pushable_button.svg)](https://pub.dev/packages/pushable_button)\n[![Language](https://img.shields.io/badge/dart-2.12.0-informational.svg)](https://dart.dev/)\n[![License](https://img.shields.io/badge/license-MIT-lightgrey.svg)](http://mit-license.org)\n[![Twitter](https://img.shields.io/badge/twitter-@biz84-blue.svg)](http://twitter.com/biz84)\n\nA 3D pushable button built in Flutter. Ideal for important CTAs in the app.\n\n![PushableButton preview](https://raw.githubusercontent.com/bizz84/pushable_button/main/.github/images/pushable_button.gif)\n\n## Usage\n\n```dart\nPushableButton(\n  child: Text('ENROLL NOW', style: someTextStyle),\n  height: 60,\n  elevation: 8,\n  hslColor: HSLColor.fromAHSL(1.0, 120, 1.0, 0.37),\n  shadow: BoxShadow(\n    color: Colors.grey.withOpacity(0.5),\n    spreadRadius: 5,\n    blurRadius: 7,\n    offset: Offset(0, 2),\n  ),\n  onPressed: () =\u003e print('Button Pressed!'),\n)\n```\n\n## Configurable Properties\n\n- **child**: child widget (normally a `Text` or `Icon`)\n- **height**: height of the top layer\n- **elevation**: elevation or \"gap\" between the top and bottom layer\n- **hslColor**: color of the top layer. `HSLColor` is used instead of `Color` so that the bottom layer is automatically calculated by reducing the luminosity\n- **shadow**: an optional shadow to make the button look better\n- **onPressed**: button callback\n\n### [LICENSE: MIT](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbizz84%2Fpushable_button","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbizz84%2Fpushable_button","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbizz84%2Fpushable_button/lists"}