{"id":19736546,"url":"https://github.com/soc221b/assistive_touch","last_synced_at":"2026-05-16T07:35:27.160Z","repository":{"id":56826269,"uuid":"397034909","full_name":"soc221b/assistive_touch","owner":"soc221b","description":"A widget just like iPhone Assistive Touch.","archived":false,"fork":false,"pushed_at":"2022-12-03T05:26:59.000Z","size":703,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-10T19:02:43.165Z","etag":null,"topics":["assistivetouch","floating-action-button"],"latest_commit_sha":null,"homepage":"","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/soc221b.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-08-17T00:55:07.000Z","updated_at":"2021-08-21T14:25:24.000Z","dependencies_parsed_at":"2023-01-23T04:16:22.481Z","dependency_job_id":null,"html_url":"https://github.com/soc221b/assistive_touch","commit_stats":null,"previous_names":["soc221b/assistive_touch","iendeavor/assistive_touch"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soc221b%2Fassistive_touch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soc221b%2Fassistive_touch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soc221b%2Fassistive_touch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soc221b%2Fassistive_touch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soc221b","download_url":"https://codeload.github.com/soc221b/assistive_touch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241062587,"owners_count":19902918,"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":["assistivetouch","floating-action-button"],"created_at":"2024-11-12T01:07:39.629Z","updated_at":"2026-01-11T04:38:38.084Z","avatar_url":"https://github.com/soc221b.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# assistive_touch\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://pub.dev/packages/assistive_touch\"\u003e\u003cimg src=\"https://img.shields.io/pub/v/assistive_touch.svg\" alt=\"Pub\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-purple.svg\" alt=\"License: MIT\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/soc221b/assistive_touch/main/example/screenshot.png\" alt=\"Example Screenshot\" height=\"500\"\u003e\n\u003c/p\u003e\n\n## Getting Started\n\nInstall the package\n\n```sh\nflutter pub add assistive_touch\n```\n\nImport the package\n\n```dart\nimport 'package:assistive_touch/assistive_touch.dart';\n```\n\nCreate a basic counter page:\n\n```dart\nclass MyHomePage extends StatefulWidget {\n  MyHomePage({Key? key, required this.title}) : super(key: key);\n\n  final String title;\n\n  @override\n  _MyHomePageState createState() =\u003e _MyHomePageState();\n}\n\nclass _MyHomePageState extends State\u003cMyHomePage\u003e {\n  int _counter = 0;\n\n  void _incrementCounter() {\n    setState(() {\n      _counter++;\n    });\n  }\n\n  @override\n  Widget build(BuildContext context) {\n    return Scaffold(\n      appBar: AppBar(\n        title: Text(widget.title),\n      ),\n      body: Center(\n        child: Column(\n          mainAxisAlignment: MainAxisAlignment.center,\n          children: \u003cWidget\u003e[\n            Text(\n              'You have pushed the button this many times:',\n            ),\n            Text(\n              '$_counter',\n              style: Theme.of(context).textTheme.headline4,\n            ),\n          ],\n        ),\n      ),\n      floatingActionButton: FloatingActionButton(\n        onPressed: _incrementCounter,\n        tooltip: 'Increment',\n        child: Icon(Icons.add),\n      ),\n    );\n  }\n}\n```\n\nMove the Floating Action Button to AssistiveTouch:\n\n```dart\nclass _MyHomePageState extends State\u003cMyHomePage\u003e {\n  @override\n  Widget build(BuildContext context) {\n    // Wrap with a [Stack] widget first\n    return Stack(\n      children: [\n        Scaffold(\n          // ...\n        ),\n        AssistiveTouch(\n          // move floatingActionButton here\n          child: FloatingActionButton(\n            onPressed: _incrementCounter,\n            tooltip: 'Increment',\n            child: Icon(Icons.add),\n          ),\n        )\n      ],\n    );\n  }\n}\n```\n\nNow you have a draggable Floating Action Button!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoc221b%2Fassistive_touch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoc221b%2Fassistive_touch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoc221b%2Fassistive_touch/lists"}