{"id":23855400,"url":"https://github.com/mastersam07/smarty","last_synced_at":"2025-02-28T14:13:56.833Z","repository":{"id":41148449,"uuid":"507896282","full_name":"Mastersam07/smarty","owner":"Mastersam07","description":"A smart home mobile application","archived":false,"fork":false,"pushed_at":"2024-08-28T23:47:16.000Z","size":48455,"stargazers_count":109,"open_issues_count":1,"forks_count":44,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-21T13:09:36.874Z","etag":null,"topics":["dart","flutter","iot","iot-application","mobile-app","smart-home","smarthome"],"latest_commit_sha":null,"homepage":"https://play.google.com/store/apps/details?id=tech.mastersam.smarty","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/Mastersam07.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":"2022-06-27T12:17:17.000Z","updated_at":"2025-02-11T16:13:50.000Z","dependencies_parsed_at":"2024-11-05T08:42:34.736Z","dependency_job_id":null,"html_url":"https://github.com/Mastersam07/smarty","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mastersam07%2Fsmarty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mastersam07%2Fsmarty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mastersam07%2Fsmarty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mastersam07%2Fsmarty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mastersam07","download_url":"https://codeload.github.com/Mastersam07/smarty/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241163160,"owners_count":19920414,"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":["dart","flutter","iot","iot-application","mobile-app","smart-home","smarthome"],"created_at":"2025-01-03T00:56:13.353Z","updated_at":"2025-02-28T14:13:56.789Z","avatar_url":"https://github.com/Mastersam07.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🦇🦇 BatTheme\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/mastersam07/smarty\" target=\"_blank\"\u003e\n    \u003cimg src=\"./ss/batman.gif\" alt=\"Bat Theme\" width=\"200\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n[![CI](https://github.com/Mastersam07/smarty/actions/workflows/ci.yaml/badge.svg)](https://github.com/Mastersam07/smarty/actions/workflows/ci.yaml)\n[![codecov](https://codecov.io/github/Mastersam07/smarty/branch/dev/graph/badge.svg?token=dcSZVkPLxf)](https://codecov.io/github/Mastersam07/smarty)\n\nA repo showcasing how to work with theme extensions in flutter. For the code guide to the writeup \u003ca href=\"https://github.com/mastersam07\"\u003eDressing your flutter widget with theme extension\u003c/a\u003e and also the talk \u003ca href=\"https://docs.google.com/presentation/d/1FWXvKfj6RJoSvFbdGjpX1EkOZi8zscnPwokh8R8Q3Us/edit?usp=sharing\"\u003eDressing your flutter widget with theme extension\u003c/a\u003e you could check \u003ca href=\"https://github.com/mastersam07/bat_theme\"\u003ehere\u003c/a\u003e.\n\nThis library is an implementation of the design system available here: https://www.figma.com/file/igCMUoRobPORn168iE513B/Smart-hom-app?node-id=505-406\n\nStar⭐ the repo if you like what you see😉.\n\n## Getting Started\n\n* Add the package to your `pubspec.yaml` file:\n\n```yaml\ndependencies:\n    bat_theme: any\n```\n\n* Use the `BatCave` widget:\n\n```dart\nimport 'package:bat_theme/bat_theme.dart';\n\nclass MyApp extends StatelessWidget {\n  const MyApp({Key? key}) : super(key: key);\n\n  @override\n  Widget build(BuildContext context) {\n    return BatCave(\n        home: Homepage(),\n    );\n  }\n}\n```\n\nOr you can also use the `BatThemeData` extension:\n\n```dart\nclass MyApp extends StatelessWidget {\n  const MyApp({Key? key}) : super(key: key);\n\n  @override\n  Widget build(BuildContext context) {\n    return MaterialApp(\n        theme: BatThemeData(colors: BatColors.light()),\n        home: Homepage(),\n    );\n  }\n}\n```\n\nOr you can also use the `BatThemeData` light/dark constructors:\n\n```dart\nclass MyApp extends StatelessWidget {\n  const MyApp({Key? key}) : super(key: key);\n\n  @override\n  Widget build(BuildContext context) {\n    return MaterialApp(\n        theme: BatThemeData.light(),\n        darkTheme: BatThemeData.dark(),\n        home: Homepage(),\n    );\n  }\n}\n```\n\n## Full Usage\n\nYou can check the [example](./example) to see this theming system in usage.\n\n## 📸 ScreenShots\n\n\u003cimg src=\"example/ss/smarty_light.png\"/\u003e\n\n| Image| Image|\n|------|-------|\n|\u003cimg src=\"example/ss/1.png\" width=\"250\" height=\"400\"\u003e|\u003cimg src=\"example/ss/2.png\" width=\"250\" height=\"400\"\u003e|\n|\u003cimg src=\"example/ss/3.png\" width=\"250\" height=\"400\"\u003e|\u003cimg src=\"example/ss/4.png\" width=\"250\" height=\"400\"\u003e|\n|\u003cimg src=\"example/ss/5.png\" width=\"250\" height=\"400\"\u003e|\u003cimg src=\"example/ss/6.png\" width=\"250\" height=\"400\"\u003e|\n|\u003cimg src=\"example/ss/7.png\" width=\"250\" height=\"400\"\u003e|\u003cimg src=\"example/ss/8.png\" width=\"250\" height=\"400\"\u003e|\n|\u003cimg src=\"example/ss/9.png\" width=\"250\" height=\"400\"\u003e|\u003cimg src=\"example/ss/10.png\" width=\"250\" height=\"400\"\u003e|\n|\u003cimg src=\"example/ss/11.png\" width=\"250\" height=\"400\"\u003e|\u003cimg src=\"example/ss/12.png\" width=\"250\" height=\"400\"\u003e|\n|\u003cimg src=\"example/ss/13.png\" width=\"250\" height=\"400\"\u003e|\u003cimg src=\"example/ss/14.png\" width=\"250\" height=\"400\"\u003e|\n\n\n## 🌗 Dark theme\n\n\u003cimg src=\"example/ss/smarty_light.png\"/\u003e\n\n| Image| Image|\n|------|-------|\n|\u003cimg src=\"example/ss/dark1.png\" width=\"250\" height=\"400\"\u003e|\u003cimg src=\"example/ss/dark2.png\" width=\"250\" height=\"400\"\u003e|\n|\u003cimg src=\"example/ss/dark3.png\" width=\"250\" height=\"400\"\u003e|\u003cimg src=\"example/ss/dark4.png\" width=\"250\" height=\"400\"\u003e|\n|\u003cimg src=\"example/ss/dark5.png\" width=\"250\" height=\"400\"\u003e|\u003cimg src=\"example/ss/dark6.png\" width=\"250\" height=\"400\"\u003e|\n|\u003cimg src=\"example/ss/dark7.png\" width=\"250\" height=\"400\"\u003e|\u003cimg src=\"example/ss/dark8.png\" width=\"250\" height=\"400\"\u003e|\n|\u003cimg src=\"example/ss/dark9.png\" width=\"250\" height=\"400\"\u003e|\u003cimg src=\"example/ss/dark10.png\" width=\"250\" height=\"400\"\u003e|\n|\u003cimg src=\"example/ss/dark11.png\" width=\"250\" height=\"400\"\u003e|\u003cimg src=\"example/ss/dark12.png\" width=\"250\" height=\"400\"\u003e|\n|\u003cimg src=\"example/ss/dark13.png\" width=\"250\" height=\"400\"\u003e|\u003cimg src=\"example/ss/dark14.png\" width=\"250\" height=\"400\"\u003e|\n\n## 🤓 Designer(s)\n**Tosin** [![Twitter Follow](https://img.shields.io/twitter/follow/tohsin_vibes.svg?style=social)](https://twitter.com/tohsin_vibes)\n\n## 🤓 Author(s)\n**Samuel Abada** [![Twitter Follow](https://img.shields.io/twitter/follow/mastersam_.svg?style=social)](https://twitter.com/mastersam_)\n\n\n## Roadmap\n\nWho knows whats next? \n\n- [ ] Better ways to do it?\n\n## Credits\n\n- [Flutter](https://github.com/flutter/flutter)\n- [Flutter DSFR](https://github.com/Floating-Dartists/flutter_dsfr)\n\n## Contributors\n\n[\u003cimg src=\"https://avatars3.githubusercontent.com/u/31275429?s=460\u0026u=b935d608a06c1604bae1d971e69a731480a27d46\u0026v=4\" width=\"180\" /\u003e](https://twitter.com/mastersam_)\n#### **Samuel Abada**\n\u003cp\u003e\n\u003ca href=\"https://twitter.com/mastersam_\"\u003e\u003cimg src=\"https://github.com/aritraroy/social-icons/blob/master/twitter-icon.png?raw=true\" width=\"60\"\u003e\u003c/a\u003e\n\u003ca href=\"https://linkedin.com/in/abada-samuel/\"\u003e\u003cimg src=\"https://github.com/aritraroy/social-icons/blob/master/linkedin-icon.png?raw=true\" width=\"60\"\u003e\u003c/a\u003e\n\u003ca href=\"https://medium.com/@sammytech\"\u003e\u003cimg src=\"https://github.com/aritraroy/social-icons/blob/master/medium-icon.png?raw=true\" width=\"60\"\u003e\u003c/a\u003e\n\u003ca href=\"https://facebook.com/abada.samueloghenero\"\u003e\u003cimg src=\"https://github.com/aritraroy/social-icons/blob/master/facebook-icon.png?raw=true\" width=\"60\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmastersam07%2Fsmarty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmastersam07%2Fsmarty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmastersam07%2Fsmarty/lists"}