{"id":50672234,"url":"https://github.com/flutterbysunny/smart_bottom_sheet","last_synced_at":"2026-06-08T12:04:54.471Z","repository":{"id":361375407,"uuid":"1254225959","full_name":"flutterbysunny/smart_bottom_sheet","owner":"flutterbysunny","description":"A smart, feature-rich Flutter bottom sheet package with snap points, physics-based dragging, form, stepper, confirmation, and rating sheets. version: 1.0.0","archived":false,"fork":false,"pushed_at":"2026-05-30T10:34:42.000Z","size":296,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-30T12:04:31.626Z","etag":null,"topics":["android","dart-bottom-sheet","dart-package","flutter","flutter-package","flutter-packages","form-sheet","ios","material-design","snap-sheet"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/smart_bottom_sheet","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/flutterbysunny.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-30T09:49:18.000Z","updated_at":"2026-05-30T10:34:43.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/flutterbysunny/smart_bottom_sheet","commit_stats":null,"previous_names":["flutterbysunny/smart_bottom_sheet"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/flutterbysunny/smart_bottom_sheet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutterbysunny%2Fsmart_bottom_sheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutterbysunny%2Fsmart_bottom_sheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutterbysunny%2Fsmart_bottom_sheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutterbysunny%2Fsmart_bottom_sheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flutterbysunny","download_url":"https://codeload.github.com/flutterbysunny/smart_bottom_sheet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutterbysunny%2Fsmart_bottom_sheet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34061145,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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":["android","dart-bottom-sheet","dart-package","flutter","flutter-package","flutter-packages","form-sheet","ios","material-design","snap-sheet"],"created_at":"2026-06-08T12:04:54.371Z","updated_at":"2026-06-08T12:04:54.467Z","avatar_url":"https://github.com/flutterbysunny.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Smart Bottom Sheet\n\nA smart, feature-rich Flutter bottom sheet package with snap points, physics-based dragging, stacking, form, stepper, confirmation, and rating sheets.\n\n## Features\n\n- 🎯 **Action Menu Sheet** — quick actions list with icons and destructive styling\n- ⚓ **Snap Sheet** — 3 snap points (peek, half, full) with velocity-based snapping and rubber-band physics\n- 📝 **Form Sheet** — keyboard-aware inline forms with validation\n- ⚠️ **Confirm Sheet** — thumb-friendly replacement for AlertDialog\n- 🪜 **Stepper Sheet** — multi-step flow inside a single sheet with progress indicator\n- ⭐ **Rating Sheet** — animated star picker with optional comment field\n- 🎨 **Fully customizable** — colors, border radius, handle, backdrop\n- 🌙 **Dark mode** support out of the box\n\n## Getting Started\n\nAdd to your `pubspec.yaml`:\n\n```yaml\ndependencies:\n  smart_bottom_sheet: ^1.0.0\n```\n\nThen run:\n\n```bash\nflutter pub get\n```\n\nImport in your Dart file:\n\n```dart\nimport 'package:smart_bottom_sheet/smart_bottom_sheet.dart';\n```\n\n## Usage\n\n### Action Menu Sheet\n\n```dart\nActionMenuSheet.show(\n  context,\n  title: 'File Options',\n  subtitle: 'document.pdf',\n  actions: [\n    SheetAction(\n      icon: Icons.share_rounded,\n      label: 'Share',\n      onTap: () {},\n    ),\n    SheetAction(\n      icon: Icons.delete_rounded,\n      label: 'Delete',\n      isDestructive: true,\n      onTap: () {},\n    ),\n  ],\n);\n```\n\n### Snap Sheet\n\n```dart\nSnapSheet.show(\n  context,\n  initialSnap: SnapPoint.half,\n  child: YourScrollableWidget(),\n);\n```\n\n### Form Sheet\n\n```dart\nFormSheet.show(\n  context,\n  title: 'Add Address',\n  fields: [\n    SheetField.text('Full Name', isRequired: true),\n    SheetField.phone('Phone Number', isRequired: true),\n    SheetField.multiline('Notes', hint: 'Any instructions?'),\n  ],\n  onSubmit: (data) {\n    print(data['Full Name']);\n  },\n);\n```\n\n### Confirm Sheet\n\n```dart\nConfirmSheet.show(\n  context,\n  icon: Icons.delete_rounded,\n  iconColor: SheetColor.danger,\n  title: 'Delete this item?',\n  message: 'This action cannot be undone.',\n  confirmLabel: 'Yes, Delete',\n  isDangerous: true,\n  onConfirm: () {\n    // handle delete\n  },\n);\n```\n\n### Stepper Sheet\n\n```dart\nStepperSheet.show(\n  context,\n  title: 'Place Order',\n  steps: [\n    SheetStep(\n      title: 'Bag',\n      child: YourBagWidget(),\n    ),\n    SheetStep(\n      title: 'Address',\n      child: YourAddressWidget(),\n    ),\n    SheetStep(\n      title: 'Payment',\n      child: YourPaymentWidget(),\n    ),\n  ],\n  onComplete: () {\n    // order placed\n  },\n);\n```\n\n### Rating Sheet\n\n```dart\nRatingSheet.show(\n  context,\n  title: 'How was your order?',\n  subtitle: 'Burger King · Zomato Gold',\n  showComment: true,\n  onSubmit: (stars, comment) {\n    print('Rated $stars stars');\n  },\n);\n```\n\n## Customization\n\nEvery sheet accepts a `SheetConfig` for global customization:\n\n```dart\nSheetConfig(\n  peekHeight: 90,        // peek snap height in pixels\n  halfHeight: 0.45,      // half snap as screen fraction\n  isDismissible: true,   // swipe down to dismiss\n  showHandle: true,      // show drag handle bar\n  backgroundColor: Colors.white,\n  borderRadius: BorderRadius.vertical(\n    top: Radius.circular(24),\n  ),\n)\n```\n\n## Additional Information\n\n- 📦 [pub.dev](https://pub.dev/packages/smart_bottom_sheet)\n- 🐛 [File an issue](https://github.com/flutterbysunny/smart_bottom_sheet/issues)\n- 🤝 Contributions welcome — open a PR!\n\n## License\n\nMIT License — see [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflutterbysunny%2Fsmart_bottom_sheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflutterbysunny%2Fsmart_bottom_sheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflutterbysunny%2Fsmart_bottom_sheet/lists"}