{"id":23480490,"url":"https://github.com/yelmuratoff/slidable_drawer","last_synced_at":"2026-05-09T03:34:31.672Z","repository":{"id":186072256,"uuid":"674341444","full_name":"yelmuratoff/slidable_drawer","owner":"yelmuratoff","description":"This package was created to implement a Custom Drawer that could be opened with a simple swipe.","archived":false,"fork":false,"pushed_at":"2024-02-19T18:13:57.000Z","size":475,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-16T13:55:49.241Z","etag":null,"topics":["dart","drawer","flutter","slidable","slidable-drawer"],"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/yelmuratoff.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":"2023-08-03T17:54:11.000Z","updated_at":"2025-05-27T08:42:08.000Z","dependencies_parsed_at":"2024-06-24T13:00:52.849Z","dependency_job_id":"ad0bc0bf-f341-42a0-9875-af517b769fac","html_url":"https://github.com/yelmuratoff/slidable_drawer","commit_stats":null,"previous_names":["k1yoshisho/inner_drawer","k1yoshisho/slidable_drawer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yelmuratoff/slidable_drawer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yelmuratoff%2Fslidable_drawer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yelmuratoff%2Fslidable_drawer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yelmuratoff%2Fslidable_drawer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yelmuratoff%2Fslidable_drawer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yelmuratoff","download_url":"https://codeload.github.com/yelmuratoff/slidable_drawer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yelmuratoff%2Fslidable_drawer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274107872,"owners_count":25223472,"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-09-07T02:00:09.463Z","response_time":67,"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":["dart","drawer","flutter","slidable","slidable-drawer"],"created_at":"2024-12-24T20:14:44.438Z","updated_at":"2026-01-11T04:39:47.047Z","avatar_url":"https://github.com/yelmuratoff.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/K1yoshiSho/slidable_drawer\" align=\"center\"\u003e\n        \u003cimg src=\"https://github.com/K1yoshiSho/slidable_drawer/blob/main/assets/images/slidable_drawer.png?raw=true\" width=\"400px\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\u003c/div\u003e\n\n\u003ch2 align=\"center\"\u003e This package was created to implement a Custom Drawer that could be opened with a simple swipe. 🚀 \u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\nIncluded SlidableDrawerController for animated open/close drawer 😊\n   \u003cbr\u003e\n   \u003cspan style=\"font-size: 0.9em\"\u003e Show some ❤️ and \u003ca href=\"https://github.com/K1yoshiSho/slidable_drawer.git\"\u003estar the repo\u003c/a\u003e to support the project! \u003c/span\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://pub.dev/packages/slidable_drawer\"\u003e\u003cimg src=\"https://img.shields.io/pub/v/slidable_drawer.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-blue.svg\" alt=\"License: MIT\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/K1yoshiSho/slidable_drawer\"\u003e\u003cimg src=\"https://hits.dwyl.com/K1yoshiSho/slidable_drawer.svg?style=flat\" alt=\"Repository views\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/K1yoshiSho/slidable_drawer\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/K1yoshiSho/slidable_drawer?style=social\" alt=\"Pub\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://pub.dev/packages/slidable_drawer/score\"\u003e\u003cimg src=\"https://img.shields.io/pub/likes/slidable_drawer?logo=flutter\" alt=\"Pub likes\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://pub.dev/packages/slidable_drawer/score\"\u003e\u003cimg src=\"https://img.shields.io/pub/popularity/slidable_drawer?logo=flutter\" alt=\"Pub popularity\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://pub.dev/packages/slidable_drawer/score\"\u003e\u003cimg src=\"https://img.shields.io/pub/points/slidable_drawer?logo=flutter\" alt=\"Pub points\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n## 📌 Features\n\n- ✅ Simple open/close drawer with swipe to right\n- ✅ Open/close drawer using SlidableDrawerController\n\n## 📌 Getting Started\nFollow these steps to use this package\n\n### Add dependency\n\n```yaml\ndependencies:\n  slidable_drawer: ^1.0.6\n```\n\n### Add import package\n\n```dart\nimport 'package:slidable_drawer/slidable_drawer.dart';\n```\n\n### Easy to use\nSimple example of use `SlidableDrawer`\u003cbr\u003e\nPut this code in your project at an screen and learn how it works 😊\n\n\u003cdiv style=\"display: flex; flex-direction: row; align-items: flex-start; justify-content: flex-start;\"\u003e\n  \u003cimg src=\"https://github.com/K1yoshiSho/slidable_drawer/blob/main/assets/videos/slidable.gif?raw=true\"\n  alt=\"Slidable package's example\" width=\"250\" style=\"margin-right: 10px;\"/\u003e\n\u003c/div\u003e\n\n\u0026nbsp;\n\nWidget part:\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:slidable_drawer/slidable_drawer.dart';\n\nvoid main() {\n  runApp(MaterialApp(\n    theme: ThemeData.dark(),\n    home: const MyApp(),\n  ));\n}\n\nclass MyApp extends StatefulWidget {\n  const MyApp({super.key});\n\n  // Create and return the state associated with MyApp.\n  @override\n  State\u003cMyApp\u003e createState() =\u003e _MyAppState();\n}\n\n// The state of the MyApp widget.\nclass _MyAppState extends State\u003cMyApp\u003e {\n  final SlidableDrawerController _slidableDrawer = SlidableDrawerController();\n\n  // initState is called when this object is inserted into the tree.\n  @override\n  void initState() {\n    super.initState();\n  }\n\n  // This method builds the widget that this state represents.\n  @override\n  Widget build(BuildContext context) {\n    return Scaffold(\n      body: SlidableDrawer(\n        drawerBody: _SlidableDraweBody(\n          controller: _slidableDrawer,\n        ),\n        innerDrawerController: _slidableDrawer,\n        child: SizedBox(\n          height: MediaQuery.of(context).size.height,\n          child: Center(\n              child: TextButton(\n            style: ButtonStyle(\n              backgroundColor: MaterialStateProperty.all(Colors.blue),\n            ),\n            onPressed: () {\n              _slidableDrawer.animateToOpen();\n            },\n            child: const Text(\n              'Open Drawer',\n              style: TextStyle(color: Colors.white),\n            ),\n          )),\n        ),\n      ),\n    );\n  }\n}\n\nclass _SlidableDraweBody extends StatelessWidget {\n  final SlidableDrawerController controller;\n\n  const _SlidableDraweBody({required this.controller});\n\n  // This method builds the widget that this stateless widget represents.\n  @override\n  Widget build(BuildContext context) {\n    return Container(\n      color: const Color.fromARGB(255, 66, 66, 66), // can be any color\n      child: Column(\n        mainAxisAlignment: MainAxisAlignment.center,\n        children: \u003cWidget\u003e[\n          TextButton(\n            onPressed: () {\n              controller.animateToClose();\n            },\n            child: const Text('Close'),\n          ),\n        ],\n      ),\n    );\n  }\n}\n```\n\n\u003cbr\u003e\n\u003cdiv align=\"center\" \u003e\n  \u003cp\u003eThanks to all contributors of this package\u003c/p\u003e\n  \u003ca href=\"https://github.com/K1yoshiSho/slidable_drawer/graphs/contributors\"\u003e\n    \u003cimg src=\"https://contrib.rocks/image?repo=K1yoshiSho/slidable_drawer\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\u003cbr\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyelmuratoff%2Fslidable_drawer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyelmuratoff%2Fslidable_drawer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyelmuratoff%2Fslidable_drawer/lists"}