{"id":19422856,"url":"https://github.com/dutchcodingcompany/escapable_padding","last_synced_at":"2025-08-04T15:43:49.827Z","repository":{"id":233496462,"uuid":"787325689","full_name":"DutchCodingCompany/escapable_padding","owner":"DutchCodingCompany","description":"Ever wanted to add padding to all items in a list *but with one exception*? Escapable Padding lets you do so!","archived":false,"fork":false,"pushed_at":"2024-04-16T10:42:45.000Z","size":324,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T10:34:41.708Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/DutchCodingCompany.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":"2024-04-16T10:05:19.000Z","updated_at":"2024-12-19T11:57:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"072836e5-7780-4807-be63-a4ba79273b7b","html_url":"https://github.com/DutchCodingCompany/escapable_padding","commit_stats":null,"previous_names":["dutchcodingcompany/escapable_padding"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DutchCodingCompany%2Fescapable_padding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DutchCodingCompany%2Fescapable_padding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DutchCodingCompany%2Fescapable_padding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DutchCodingCompany%2Fescapable_padding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DutchCodingCompany","download_url":"https://codeload.github.com/DutchCodingCompany/escapable_padding/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240601803,"owners_count":19827403,"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":[],"created_at":"2024-11-10T13:35:30.971Z","updated_at":"2025-02-25T04:27:58.696Z","avatar_url":"https://github.com/DutchCodingCompany.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Escapable Padding\n[![style: very good analysis](https://img.shields.io/badge/style-very_good_analysis-B22C89.svg)](https://pub.dev/packages/very_good_analysis) \n![Coverage](./coverage_badge.svg?sanitize=true)\n\n\nEver wanted to add padding to all items in a list *but with one exception*? Usually this would make you manually add padding to all children except the one you don't want to pad. With Escapable Padding you can pad all items in a Flex, Column or Row, and wrap exceptions with an Escape widget to make them break out of that padding.\n\nThis is really nice for (for example):\n- Lining up your buttons with your text\n- Adding a max viewport width, but having a full size image pop out somewhere as an exception\n\n\n\n## Features\n\nAdd padding to your Column's, Row's and Flex's with exceptions!\n\n![An example of Escapable Padding](assets/example.png)\n\n## Getting started\n\nGetting started is really easy just add `escapable_padding` to your pubspec.yaml;\n\n```yaml\ndependencies:\n  escapable_padding: ^1.0.0\n  flutter:\n    sdk: flutter\n```\n\n## Usage\n\nUsage is really simple too! Just wrap your Column, Row or Flex in a EscapablePadding widget and provide a padding.\n\n```dart\nEscapablePadding(\n  padding: const EdgeInsets.symmetric(horizontal: 50),\n  flexChild: Column(\n    crossAxisAlignment: CrossAxisAlignment.start,\n    children: [\n      const Text('This is a text is affected by the padding provided'),\n      const Escaped(\n        child: Text('However, this text is escaped and should be able to take full width here'),\n      ),\n    ],\n  ),\n),\n```\n\n## Additional information\n\n- Since this package only makes use of basic Flutter Widgets, this has no dependencies on other pacakges. This makes including Escapable Padding really safe!\n- Currently it is not supported to add horizontal padding to a horizontal flex widget and add vertical padding to a vertical flex widget. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdutchcodingcompany%2Fescapable_padding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdutchcodingcompany%2Fescapable_padding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdutchcodingcompany%2Fescapable_padding/lists"}