{"id":25413789,"url":"https://github.com/lyskouski/flutter_grid_layout","last_synced_at":"2026-04-28T13:35:32.374Z","repository":{"id":193685524,"uuid":"689273787","full_name":"lyskouski/flutter_grid_layout","owner":"lyskouski","description":"Grid Layout (CSS) for Flutter","archived":false,"fork":false,"pushed_at":"2023-12-28T20:18:02.000Z","size":320,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-26T12:51:53.535Z","etag":null,"topics":["flutter","flutter-examples","flutter-layout"],"latest_commit_sha":null,"homepage":"","language":"C++","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/lyskouski.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["lyskouski"],"patreon":"terCAD","custom":["https://paypal.me/terCAD","https://donorbox.org/tercad","https://www.buymeacoffee.com/lyskouski"]}},"created_at":"2023-09-09T09:47:22.000Z","updated_at":"2024-11-07T12:39:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"a37e8c22-e008-43ac-ba33-b0f318eca762","html_url":"https://github.com/lyskouski/flutter_grid_layout","commit_stats":null,"previous_names":["lyskouski/flutter_grid_layout"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/lyskouski/flutter_grid_layout","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyskouski%2Fflutter_grid_layout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyskouski%2Fflutter_grid_layout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyskouski%2Fflutter_grid_layout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyskouski%2Fflutter_grid_layout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lyskouski","download_url":"https://codeload.github.com/lyskouski/flutter_grid_layout/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyskouski%2Fflutter_grid_layout/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32383522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["flutter","flutter-examples","flutter-layout"],"created_at":"2025-02-16T14:31:44.809Z","updated_at":"2026-04-28T13:35:32.345Z","avatar_url":"https://github.com/lyskouski.png","language":"C++","funding_links":["https://github.com/sponsors/lyskouski","https://patreon.com/terCAD","https://paypal.me/terCAD","https://donorbox.org/tercad","https://www.buymeacoffee.com/lyskouski","https://img.buymeacoffee.com/button-api/?text=Buy"],"categories":[],"sub_categories":[],"readme":"# Grid Layout (CSS) for Flutter\n\n[![Test Status](https://github.com/lyskouski/flutter_grid_layout/actions/workflows/test.yml/badge.svg)](https://github.com/lyskouski/flutter_grid_layout/actions/workflows/test.yml)\n[![Build Status](https://github.com/lyskouski/flutter_grid_layout/actions/workflows/build.yml/badge.svg)](https://github.com/lyskouski/flutter_grid_layout/actions/workflows/build.yml)\n\u003ca href=\"https://www.buymeacoffee.com/lyskouski\"\u003e\u003cimg height=\"20\" src=\"https://img.buymeacoffee.com/button-api/?text=Buy me a coffee\u0026emoji=\u0026slug=lyskouski\u0026button_colour=FFDD00\u0026font_colour=000000\u0026font_family=Cookie\u0026outline_colour=000000\u0026coffee_colour=ffffff\" /\u003e\u003c/a\u003e\n\n![Grid Layout](./assets/grid-layout.svg)\n\nEmbracing a grid layout is essential for creating adaptable and user-friendly digital designs. Grids ensure visual consistency, prioritize content, and seamlessly adapt to various screen sizes, enhancing the overall user experience across devices and displays.\n\n## Features\n\n- Basic implementation of [CSS Grid](https://css-tricks.com/snippets/css/complete-guide-grid/).\n\n## Getting started\nhttps://pub.dev/packages/flutter_grid_layout\n\n```bash\nflutter pub add flutter_grid_layout\n```\n\n## Simple Sample\n\n```dart\nGridContainer(\n  columns: [0.2, null, 0.2],\n  rows: [0.2, null, 0.2],\n  children: [\n    GridItem(\n      start: const Size(1, 1),\n      end: const Size(2, 2),\n      child: Container(color: Colors.red),\n    )\n  ],\n),\n```\n\n![Centered Item](https://raw.githubusercontent.com/lyskouski/flutter_grid_layout/main/test/src/grid_container_test.dart.1.png)\n\n## Multiple Items with different layers\n\n```dart\nGridContainer(\n  columns: [0.2, 0.3, 0.3, 0.2],\n  rows: [0.2, 0.3, 0.3, 0.2],\n  children: [\n    GridItem(\n      start: const Size(0, 0),\n      end: const Size(4, 1),\n      child: Container(color: Colors.red),\n    ),\n    GridItem(\n      start: const Size(1, 0),\n      end: const Size(3, 4),\n      order: 1,\n      child: Container(color: Colors.blue.withOpacity(0.5)),\n    ),\n    GridItem(\n      start: const Size(2, 3),\n      end: const Size(4, 4),\n      child: Container(color: Colors.green),\n    ),\n  ],\n),\n```\n\n![Multiple Items](https://raw.githubusercontent.com/lyskouski/flutter_grid_layout/main/test/src/grid_container_test.dart.2.png)\n\n## Reversed Multiple Items with different layers\n\n```dart\nGridContainer(\n  alignment: MainAxisAlignment.end,\n  columns: [0.2, 0.3, 0.3, 0.2],\n  rows: [0.2, 0.3, 0.3, 0.2],\n  children: [\n    GridItem(\n      start: const Size(0, 0),\n      end: const Size(4, 1),\n      child: Container(color: Colors.red),\n    ),\n    GridItem(\n      start: const Size(1, 0),\n      end: const Size(3, 4),\n      order: 1,\n      child: Container(color: Colors.blue.withOpacity(0.5)),\n    ),\n    GridItem(\n      start: const Size(2, 3),\n      end: const Size(4, 4),\n      child: Container(color: Colors.green),\n    ),\n  ],\n),\n```\n\n![Multiple Items - Reversed](https://raw.githubusercontent.com/lyskouski/flutter_grid_layout/main/test/src/grid_container_test.dart.3.png)\n\nIn addition to thanking, you may [treat us to :coffee:](https://www.buymeacoffee.com/lyskouski).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flyskouski%2Fflutter_grid_layout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flyskouski%2Fflutter_grid_layout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flyskouski%2Fflutter_grid_layout/lists"}