{"id":32302485,"url":"https://github.com/jonathanmonga/flutter_trianglify","last_synced_at":"2026-02-22T18:03:11.268Z","repository":{"id":56830399,"uuid":"224900094","full_name":"JonathanMonga/flutter_trianglify","owner":"JonathanMonga","description":"Flutter library to generate beautiful triangle art views for android and ios.","archived":false,"fork":false,"pushed_at":"2019-12-24T13:47:09.000Z","size":196,"stargazers_count":33,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-23T06:04:14.143Z","etag":null,"topics":["dart","flutter","trianglify","widget"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JonathanMonga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-29T17:53:34.000Z","updated_at":"2025-09-11T16:05:39.000Z","dependencies_parsed_at":"2022-09-09T17:31:15.186Z","dependency_job_id":null,"html_url":"https://github.com/JonathanMonga/flutter_trianglify","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/JonathanMonga/flutter_trianglify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanMonga%2Fflutter_trianglify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanMonga%2Fflutter_trianglify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanMonga%2Fflutter_trianglify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanMonga%2Fflutter_trianglify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JonathanMonga","download_url":"https://codeload.github.com/JonathanMonga/flutter_trianglify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanMonga%2Fflutter_trianglify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29721056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T15:10:41.462Z","status":"ssl_error","status_checked_at":"2026-02-22T15:10:04.636Z","response_time":110,"last_error":"SSL_read: 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":["dart","flutter","trianglify","widget"],"created_at":"2025-10-23T06:00:26.087Z","updated_at":"2026-02-22T18:03:11.261Z","avatar_url":"https://github.com/JonathanMonga.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Trianglify for Flutter\n\n[![Build Status](https://travis-ci.org/JonathanMonga/flutter_trianglify.svg?branch=master)](https://travis-ci.org/JonathanMonga/flutter_trianglify)\n\nFlutter widget inspired by http://qrohlf.com/trianglify/\n\n\u003cimg src=\"https://raw.githubusercontent.com/JonathanMonga/flutter_trianglify/master/screenshots/screenshot.png\" alt=\"Demo Screenshot\" height=\"35%\" width=\"35%\"/\u003e\n\n## Installation\n[![Pub](https://img.shields.io/badge/pub-0.0.8-blue)](https://pub.dev/packages/flutter_trianglify)\n\nAdd the Package\n```yaml\ndependencies:\n  flutter_trianglify: ^0.0.8\n```\n\n# Usage\n\nCell size, variance, bleeds, color generator can be initialized from Widget:\n\n```dart\n    Trianglify(\n        bleedX: 0,\n        bleedY: 10,\n        cellSize: 35,\n        gridWidth: MediaQuery.of(context).size.width + (200 * scaleFactor),\n        gridHeight: 400 * scaleFactor,\n        isDrawStroke: true,\n        isFillTriangle: true,\n        isFillViewCompletely: false,\n        isRandomColoring: false,\n        generateOnlyColor: false,\n        typeGrid: Trianglify.GRID_RECTANGLE,\n        variance: 20,\n        palette: Palette.getPalette(Palette.BLUES),\n    )\n```\n\n## Examples\n\nWeb and command-line examples can be found in the `example` folder.\n\n### Web Examples\n\nIn order to run the web examples, please follow these steps:\n\n1. Clone this repo and enter the directory\n2. Run `pub get`\n3. Run `pub run build_runner serve example`\n4. Navigate to [http://localhost:8080/web/](http://localhost:8080/web/) in your browser\n\n### Command Line Examples\n\nIn order to run the command line example, please follow these steps:\n\n1. Clone this repo and enter the directory\n2. Run `pub get`\n3. Run `dart example/lib/trianglify_example.dart`\n\n### Flutter Example\n\n#### Install Flutter\n\nIn order to run the flutter example, you must have Flutter installed. For installation instructions, view the online\n[documentation](https://flutter.io/).\n\n#### Run the app\n\n1. Open up an Android Emulator, the iOS Simulator, or connect an appropriate mobile device for debugging.\n2. Open up a terminal\n3. `cd` into the `example/lib/trianglify_example` directory\n4. Run `flutter doctor` to ensure you have all Flutter dependencies working.\n5. Run `flutter packages get`\n6. Run `flutter run`\n\n# License\n\n    BSD 2-Clause License\n\n    Copyright (c) 2019, Jonathan Monga\n    All rights reserved.\n\n    Redistribution and use in source and binary forms, with or without\n    modification, are permitted provided that the following conditions are met:\n\n    1. Redistributions of source code must retain the above copyright notice, this\n       list of conditions and the following disclaimer.\n\n    2. Redistributions in binary form must reproduce the above copyright notice,\n       this list of conditions and the following disclaimer in the documentation\n       and/or other materials provided with the distribution.\n\n    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n    CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanmonga%2Fflutter_trianglify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathanmonga%2Fflutter_trianglify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanmonga%2Fflutter_trianglify/lists"}