{"id":21196328,"url":"https://github.com/davigmacode/flutter_fancy_border","last_synced_at":"2025-07-07T07:11:36.379Z","repository":{"id":238229497,"uuid":"796125022","full_name":"davigmacode/flutter_fancy_border","owner":"davigmacode","description":"Enhance built-in Flutter borders with gradients and line patterns.","archived":false,"fork":false,"pushed_at":"2024-06-03T05:02:42.000Z","size":339,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T21:49:55.707Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/fancy_border","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davigmacode.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":["davigmacode"],"patreon":null,"open_collective":null,"ko_fi":"davigmacode","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://www.buymeacoffee.com/davigmacode"]}},"created_at":"2024-05-05T02:18:59.000Z","updated_at":"2024-12-24T03:49:07.000Z","dependencies_parsed_at":"2024-05-05T05:24:24.065Z","dependency_job_id":"e57c5280-4a8e-4db5-a563-8fc4b8e934d6","html_url":"https://github.com/davigmacode/flutter_fancy_border","commit_stats":null,"previous_names":["davigmacode/flutter_fancy_border"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/davigmacode/flutter_fancy_border","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davigmacode%2Fflutter_fancy_border","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davigmacode%2Fflutter_fancy_border/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davigmacode%2Fflutter_fancy_border/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davigmacode%2Fflutter_fancy_border/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davigmacode","download_url":"https://codeload.github.com/davigmacode/flutter_fancy_border/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davigmacode%2Fflutter_fancy_border/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264032306,"owners_count":23546808,"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-20T19:35:35.776Z","updated_at":"2025-07-07T07:11:36.333Z","avatar_url":"https://github.com/davigmacode.png","language":"Dart","funding_links":["https://github.com/sponsors/davigmacode","https://ko-fi.com/davigmacode","https://www.buymeacoffee.com/davigmacode"],"categories":[],"sub_categories":[],"readme":"[![Pub Version](https://img.shields.io/pub/v/fancy_border)](https://pub.dev/packages/fancy_border) ![GitHub](https://img.shields.io/github/license/davigmacode/flutter_fancy_border) [![GitHub](https://badgen.net/badge/icon/buymeacoffee?icon=buymeacoffee\u0026color=yellow\u0026label)](https://www.buymeacoffee.com/davigmacode) [![GitHub](https://badgen.net/badge/icon/ko-fi?icon=kofi\u0026color=red\u0026label)](https://ko-fi.com/davigmacode)\n\nThis package provides a custom Flutter border class named `FancyBorder` that allows you to draw borders with more style options beyond the built-in Flutter borders. It supports features like:\n\n* **Gradients**: Apply a gradient to the border for a more decorative look.\n* **Patterns**: Create dashed or dotted borders using a defined pattern.\n\n### Preview\n[![Preview](https://github.com/davigmacode/flutter_fancy_border/raw/main/media/preview.jpg)](https://davigmacode.github.io/flutter_fancy_border)\n\n[Demo](https://davigmacode.github.io/flutter_fancy_border)\n\n## Usage\n```dart\nContainer(\n  width: 100,\n  height: 50,\n  decoration: const ShapeDecoration(\n    color: Colors.yellow,\n    shape: FancyBorder(\n      /// The underlying border shape.\n      shape: RoundedRectangleBorder(),\n      /// The style of the border.\n      style: FancyBorderStyle.dashed,\n      /// The width of the border.\n      width: 4,\n      /// The offset of the border stroke.\n      offset: 2,\n      /// The color replaced by gradient.\n      color: Colors.red,\n      /// The gradient to use for the border.\n      gradient: LinearGradient(colors: [Colors.blue, Colors.red]),\n      /// The corner radius of the border.\n      corners: BorderRadius.all(Radius.circular(10)),\n    ),\n  ),\n  alignment: Alignment.center,\n  child: const Text('Rounded'),\n)\n```\n\n### Border Style\nThe `FancyBorderStyle` class defines the different styles available for the border:\n\n* `FancyBorderStyle.solid` (default): Solid border style.\n* `FancyBorderStyle.dotted`: Dotted border style.\n* `FancyBorderStyle.dashed`: Dashed border style.\n* `FancyBorderStyle.morse`: Morse code-like border style.\n* (You can add more styles to the enum if needed)\n\nTo delve deeper into the technical details of `fancy_border`'s classes, methods, and properties, please refer to the official [API Reference](https://pub.dev/documentation/fancy_border/latest/).\n\n## Sponsoring\n\n\u003ca href=\"https://www.buymeacoffee.com/davigmacode\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" height=\"45\"\u003e\u003c/a\u003e\n\u003ca href=\"https://ko-fi.com/davigmacode\" target=\"_blank\"\u003e\u003cimg src=\"https://storage.ko-fi.com/cdn/brandasset/kofi_s_tag_white.png\" alt=\"Ko-Fi\" height=\"45\"\u003e\u003c/a\u003e\n\nIf this package or any other package I created is helping you, please consider to sponsor me so that I can take time to read the issues, fix bugs, merge pull requests and add features to these packages.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavigmacode%2Fflutter_fancy_border","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavigmacode%2Fflutter_fancy_border","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavigmacode%2Fflutter_fancy_border/lists"}