{"id":15487276,"url":"https://github.com/jogboms/flutter_scale_aware","last_synced_at":"2025-08-23T14:37:06.293Z","repository":{"id":66132063,"uuid":"217220076","full_name":"jogboms/flutter_scale_aware","owner":"jogboms","description":"🎗 Scale-based layouts with a bit more ease, powered by extensions.","archived":false,"fork":false,"pushed_at":"2021-06-05T07:21:09.000Z","size":847,"stargazers_count":25,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-22T16:55:51.152Z","etag":null,"topics":["dart","dartlang","design","extensions","flutter","layouts","responsive","scale","screen","ui","ux"],"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/jogboms.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}},"created_at":"2019-10-24T05:42:35.000Z","updated_at":"2023-05-12T16:56:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"65e6e9c4-3c88-4b00-8f70-b4c07352b57f","html_url":"https://github.com/jogboms/flutter_scale_aware","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jogboms/flutter_scale_aware","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jogboms%2Fflutter_scale_aware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jogboms%2Fflutter_scale_aware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jogboms%2Fflutter_scale_aware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jogboms%2Fflutter_scale_aware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jogboms","download_url":"https://codeload.github.com/jogboms/flutter_scale_aware/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jogboms%2Fflutter_scale_aware/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271752126,"owners_count":24814750,"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-08-23T02:00:09.327Z","response_time":69,"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","dartlang","design","extensions","flutter","layouts","responsive","scale","screen","ui","ux"],"created_at":"2024-10-02T06:21:56.917Z","updated_at":"2025-08-23T14:37:06.283Z","avatar_url":"https://github.com/jogboms.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎗 Flutter Scale-Aware\n\n### NOT ADVISED FOR PRODUCTION YET. API AND USAGE IS SUBJECT TO CHANGE\n\n[![Build Status - Travis](https://travis-ci.org/jogboms/flutter_scale_aware.svg?branch=master)](https://travis-ci.org/jogboms/flutter_scale_aware) [![codecov](https://codecov.io/gh/jogboms/flutter_scale_aware/branch/master/graph/badge.svg)](https://codecov.io/gh/jogboms/flutter_scale_aware)\n\nCreate scale-based layout with a bit more ease. Powered by extensions. \n\n## 🎖 Installing\n\n```yaml\ndependencies:\n  flutter_scale_aware: \n    git: https://github.com/jogboms/flutter_scale_aware.git\n```\n\n### ⚡️ Import\n\n```dart\nimport 'package:flutter_scale_aware/flutter_scale_aware.dart';\n```\n\n## 🎮 How To Use\n\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter_scale_aware/flutter_scale_aware.dart';\n\nvoid main() =\u003e runApp(MyApp());\n\nclass MyApp extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) {\n    return ScaleAware(\n      config: ScaleConfig(),\n      child: MaterialApp(\n        title: 'Demo',\n        theme: ThemeData.dark(),\n        home: DemoPage(title: 'Hello'),\n      ),\n    );\n  }\n}\n\nclass DemoPage extends StatelessWidget {\n  DemoPage({Key key, this.title}) : super(key: key);\n\n  final String title;\n\n  @override\n  Widget build(BuildContext context) {\n    return Scaffold(\n      appBar: AppBar(title: Text(title)),\n      body: Center(\n        child: Container(\n          height: context.scale(2),\n          width: context.scale(14.5),\n          color: Color.red,\n          child: Text(\"Hello World\", style: TextStyle(fontSize: context.fontScale(16))),\n        ),\n      ),\n    );\n  }\n}\n```\n\nFor more info, please, refer to the `main.dart` in the example.\n\n## 🐛 Bugs/Requests\n\nIf you encounter any problems feel free to open an issue. If you feel the library is\nmissing a feature, please raise a ticket on Github and I'll look into it.\nPull request are also welcome.\n\n### ❗️ Note\n\nFor help getting started with Flutter, view our online\n[documentation](https://flutter.io/).\n\nFor help on editing plugin code, view the [documentation](https://flutter.io/platform-plugins/#edit-code).\n\n\n## ⭐️ License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjogboms%2Fflutter_scale_aware","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjogboms%2Fflutter_scale_aware","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjogboms%2Fflutter_scale_aware/lists"}