AI prompts
base on A collection of fun Flutter experiments, created by gskinner, in partnership with Google.
<br />
<p align="center">
<img width="215" src="https://user-images.githubusercontent.com/736973/187334196-b79e48b2-dbb8-4ea7-8aac-04dbc7e5159f.png#gh-dark-mode-only">
<img width="215" src="https://user-images.githubusercontent.com/736973/187334195-9821c031-a566-4f8e-b4e3-3158f733c6e5.png#gh-light-mode-only">
</p>
<br />
### The Flutter Vignettes
A collection of explorations into the exciting user experience possibilities enabled by the Flutter platform. Built by [gskinner](https://gskinner.com) in partnership with Google, these vignettes range from the practical to the novel. They aim to inspire both developers and designers to build delightful and beautiful experiences with Flutter.
In addition to forking and reviewing the [MIT licensed code](LICENSE.md) available here, you can also check out more information on the [Vignette Showcase Website](https://flutter.gskinner.com/vignettes/).
<br/>
### About gskinner
We exist to build inovative digital experiences for smart clients, and we love how easy Flutter makes that. Don't hesitate to [stop by our site](https://gskinner.com) to learn more about what we do. We'd love to hear from you!
<br/>
### The Vignettes
<br />
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/parallax_travel_cards_list"><img src="https://flutter.gskinner.com/vignettes/previews/parallax_list_edited_sm.gif?" width="237"/></a>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/parallax_travel_cards_list"><h3>Travel Cards</h3></a>
<p>Use a Stack widget to create a parallax effect inside of a list, while also using a Transform to give it a 3D card effect. </p>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/parallax_travel_cards_list">View Code</a>
<br/><br/><br/><br/><br/><br/>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/gooey_edge"><img src="https://flutter.gskinner.com/vignettes/previews/gooey_edge_edited_sm.gif?" width="237" /></a>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/gooey_edge"><h3>Mindfulness Gooey Transition</h3></a>
<p>Draw curved vector paths and use them to mask content. Utilizes a small physics simulation to calculate tension between a set of points.</p>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/gooey_edge">View Code</a>
<br/><br/><br/><br/><br/><br/>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/ticket_fold"><img src="https://flutter.gskinner.com/vignettes/previews/boarding_pass_edited_sm.gif?" width="237" /></a>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/ticket_fold"><h3>Boarding Pass Cards</h3></a>
<p>Uses the Transform widget to create a folding card effect. In this case a boarding pass with multiple folds, each fold containing a child widget.</p>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/ticket_fold">View Code</a>
<br/><br/><br/><br/><br/><br/>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/particle_swipe"><img src="https://flutter.gskinner.com/vignettes/previews/particle_swipe_edited_sm.gif?" width="237" /></a>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/particle_swipe"><h3>Inbox Swipe Particles</h3></a>
<p>Demonstrates how you can use particles in your Flutter app and how to tie multiple actions to a list swipe.</p>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/particle_swipe">View Code</a>
<br/><br/><br/><br/><br/><br/>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/bubble_tab_bar"><img src="https://flutter.gskinner.com/vignettes/previews/bubble_tab_edited_sm.gif?" width="237" /></a>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/bubble_tab_bar"><h3>Icon Flip Button Bar</h3></a>
<p>Example of a bespoke NavigationBar with animated buttons that change size, shape, and color when selected. </p>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/bubble_tab_bar">View Code</a>
<br/><br/><br/><br/><br/><br/>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/drink_rewards_list"><img src="https://flutter.gskinner.com/vignettes/previews/drink_rewards_edited_sm.gif?" width="237" /></a>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/drink_rewards_list"><h3>Liquid Rewards Cards</h3></a>
<p>Shows how to easily create resizeable list items using AnimatedContainer; also uses the Canvas API to simulate a liquid effect. </p>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/drink_rewards_list">View Code</a>
<br/><br/><br/><br/><br/><br/>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/dog_slider"><img src="https://flutter.gskinner.com/vignettes/previews/dog_slider_edited_sm.gif?" width="237" /></a>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/dog_slider"><h3>Dog Toy Slider</h3></a>
<p>Use a Flare animation to create a custom Slider control. Creates a custom FlareControl class for playback while the slider itself is painted on a Canvas.</p>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/dog_slider">View Code</a>
<br/><br/><br/><br/><br/><br/>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/constellations_list"><img src="https://flutter.gskinner.com/vignettes/previews/constellations_list_edited_sm.gif?" width="237" /></a>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/constellations_list"><h3>Guide To the Stars Particles</h3></a>
<p>Shows how to use an animated Canvas as the primary background for your app. In this case, a starfield effect that controls its animation speed based on user scrolling and page transitions.</p>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/constellations_list">View Code</a>
<br/><br/><br/><br/><br/><br/>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/parallax_travel_cards_hero"><img src="https://flutter.gskinner.com/vignettes/previews/parallax_hero_edited_sm.gif?" width="237" /></a>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/parallax_travel_cards_hero"><h3>Paris Travel Hero Transition</h3></a>
<p>Shows how you can create a custom Hero effect that contains complex animations and retains its state between pages. </p>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/parallax_travel_cards_hero">View Code</a>
<br/><br/><br/><br/><br/><br/>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/fluid_nav_bar"><img src="https://flutter.gskinner.com/vignettes/previews/liquid_nav_edited_sm.gif?" width="237" /></a>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/fluid_nav_bar"><h3>Fluid Button Bar</h3></a>
<p>Uses a Canvas to create a fluid-style navigation bar that has a fun bouncy feel to it; also shows how to use the Path API to draw, and animate some custom icons. </p>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/fluid_nav_bar">View Code</a>
<br/><br/><br/><br/><br/><br/>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/product_detail_zoom"><img src="https://flutter.gskinner.com/vignettes/previews/product_detail_edited_sm.gif?" width="237" /></a>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/product_detail_zoom"><h3>Product Zoom Transition</h3></a>
<p>Example of an animated png sequence within a Hero animation; also uses a Canvas to render and animate a product detail overlay.</p>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/product_detail_zoom">View Code</a>
<br/><br/><br/><br/><br/><br/>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/dark_ink_transition"><img src="https://flutter.gskinner.com/vignettes/previews/darkmode_edited_sm.gif?" width="237" /></a>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/dark_ink_transition"><h3>Article Dark Mode</h3></a>
<p>Shows how a png sequence can be used to mask an arbitrary widget. Here that technique is used in a page transition between light and dark themes.</p>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/dark_ink_transition">View Code</a>
<br/><br/><br/><br/><br/><br/>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/basketball_ptr"><img src="https://flutter.gskinner.com/vignettes/previews/basketball_ptr_edited_sm.gif?" width="237" /></a>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/basketball_ptr"><h3>Sports App Pull To Refresh</h3></a>
<p>Shows how to create a custom pull to refresh animation. In this example, we used a sprite sequence to render a basketball spinning around the hoop as it loads. </p>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/basketball_ptr">View Code</a>
<br/><br/><br/><br/><br/><br/>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/plant_forms"><img src="https://flutter.gskinner.com/vignettes/previews/plant_form_edited_sm.gif?" width="237" /></a>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/plant_forms"><h3>Plant Shopping Cart</h3></a>
<p>An example of multi-part form validation and the ability to customize the form contents based on the country the user has selected.</p>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/plant_forms">View Code</a>
<br/><br/><br/><br/><br/><br/>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/indie_3d"><img src="https://flutter.gskinner.com/vignettes/previews/indie3d_edited_sm.gif?" width="237" /></a>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/indie_3d"><h3>Feature Artist Carousel</h3></a>
<p>Uses a custom 3D model renderer and blending mask to create a fun and unique background effect. </p>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/indie_3d">View Code</a>
<br/><br/><br/><br/><br/><br/>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/sparkle_party"><img src="https://flutter.gskinner.com/vignettes/previews/sparkle_party_edited_sm.gif?" width="237" /></a>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/sparkle_party"><h3>Sparkle Party Particles</h3></a>
<p>Uses the drawVertices API to draw a ton of particles extremely quickly. The particles are animated using a sprite sheet and comes with 4 different presets.</p>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/sparkle_party">View Code</a>
<br/><br/><br/><br/><br/><br/>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/spending_tracker"><img src="https://flutter.gskinner.com/vignettes/previews/spending_tracker_edited_sm.gif?" width="237" /></a>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/spending_tracker"><h3>BudgetTracker Graphs</h3></a>
<p>Demonstrates how charts and graphs can be implemented using the Canvas API. It also provides an example of arbitrary panning and scrolling in a view.</p>
<a href="https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/spending_tracker">View Code</a>
<br/><br/><br/><br/><br/><br/>
<br/>
### Installation
If you're new to Flutter the first thing you'll need is to follow the [setup instructions](https://flutter.dev/docs/get-started/install). Once you're set up and can compile the sample Flutter app, you're ready to run some vignettes!
Each vignette is stored in its own folder in the repository. Using your IDE of choice, open the vignette directory you'd like to run. Then, using the terminal inside your IDE, run `flutter pub get` to fetch any dependencies, and `flutter run` to deploy to your connected device or simulator.
If you would like to try these for Flutter for web, you can use `flutter run -d chrome`. Note that Flutter for web is currently a technical preview and not all of the vignettes will work correctly. For more information on enabling Flutter for web follow the [setup instructions](https://flutter.dev/docs/get-started/web).
<br/>
### License
<br/>
These vignettes are released under the [MIT license](LICENSE.md). You can use the code for any purpose, including commercial projects.
[![license](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
<br/>
", Assign "at most 3 tags" to the expected json: {"id":"10251","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"