• Stars
    star
    4,500
  • Rank 9,485 (Top 0.2 %)
  • Language
    Dart
  • License
    MIT License
  • Created about 5 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A collection of fun Flutter experiments, created by gskinner, in partnership with Google.


The Flutter Vignettes

A collection of explorations into the exciting user experience possibilities enabled by the Flutter platform. Built by gskinner 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 available here, you can also check out more information on the Vignette Showcase Website.


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 to learn more about what we do. We'd love to hear from you!


The Vignettes


Travel Cards

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.

View Code





Mindfulness Gooey Transition

Draw curved vector paths and use them to mask content. Utilizes a small physics simulation to calculate tension between a set of points.

View Code





Boarding Pass Cards

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.

View Code





Inbox Swipe Particles

Demonstrates how you can use particles in your Flutter app and how to tie multiple actions to a list swipe.

View Code





Icon Flip Button Bar

Example of a bespoke NavigationBar with animated buttons that change size, shape, and color when selected.

View Code





Liquid Rewards Cards

Shows how to easily create resizeable list items using AnimatedContainer; also uses the Canvas API to simulate a liquid effect.

View Code





Dog Toy Slider

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.

View Code





Guide To the Stars Particles

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.

View Code





Paris Travel Hero Transition

Shows how you can create a custom Hero effect that contains complex animations and retains its state between pages.

View Code





Fluid Button Bar

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.

View Code





Product Zoom Transition

Example of an animated png sequence within a Hero animation; also uses a Canvas to render and animate a product detail overlay.

View Code





Article Dark Mode

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.

View Code





Sports App Pull To Refresh

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.

View Code





Plant Shopping Cart

An example of multi-part form validation and the ability to customize the form contents based on the country the user has selected.

View Code





Feature Artist Carousel

Uses a custom 3D model renderer and blending mask to create a fun and unique background effect.

View Code





Sparkle Party Particles

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.

View Code





BudgetTracker Graphs

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.

View Code






Installation

If you're new to Flutter the first thing you'll need is to follow the setup instructions. 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.


License


These vignettes are released under the MIT license. You can use the code for any purpose, including commercial projects.

license


More Repositories

1

flutter-wonderous-app

A showcase app for the Flutter SDK. Wonderous will educate and entertain as you uncover information about some of the most famous structures in the world.
Dart
3,910
star
2

flutter-folio

A platform adaptive Flutter app for desktop, mobile and web.
Dart
3,819
star
3

flokk

A fresh and modern Google Contacts manager that integrates with GitHub and Twitter.
Dart
1,434
star
4

flutter_custom_carousel

A Flutter widget for creating fully custom, animated scrollable lists. It manages all of the tricky logic surrounding scroll interactions and physics, and leaves the visual presentation of items up to you.
Dart
129
star
5

flutter-sized-context

Flutter code extension that provides MediaQuery sizing info directly on the BuildContext instance. Also adds some helper methods for sizing and layout.
Dart
113
star
6

flutter-universal-platform

A web-safe implementation of dart.io.Platforms. Helps avoid the "Unsupported operation: Platform._operatingSystem" runtime error.
Dart
105
star
7

flutter-stats-fl

A simple FPS monitor for Flutter
C++
72
star
8

flutter-defer-pointer

Dart
57
star
9

flutter-adaptive-demo

Dart
48
star
10

flutter-flextras

A collection of Flex widgets (Columns and Rows) with additional functionality.
C++
43
star
11

flutter-mvcs-hello-world

C++
36
star
12

flutter-context-menu

A package to show context menus on right-click or long-press.
Dart
32
star
13

flutter-nav-stack

A simple but powerful path-based navigation router with full web-browser and deeplink support.
Dart
23
star
14

SCSS-Baseline-Type-Utility

CSS
22
star
15

flutter-flippable-box

Dart
22
star
16

flutter-stateful-props

Dart
21
star
17

flutter-focusable-control-builder

Dart
21
star
18

flutter-textstyle-extensions

Syntactic sugar for quickly modifying TextStyles
C++
19
star
19

flutter-integration-test-examples

C++
19
star
20

flutter-extra-alignments

Additional alignments to help make your layouts more readable (TopLeft, TopRight, etc)
Dart
15
star
21

flutter-anchored-popups

Show tooltips and popup menus that are anchored / pinned to another Widget.
Dart
11
star
22

Coasting-on-Cos-Waves

An experiment to showcase the new StageGL functionality in EaselJS
JavaScript
9
star
23

Vexr

A 2D Vector and Behavior Library
JavaScript
8
star
24

camera-2.5d

An EaselJS/Canvas approach to 2.5d
JavaScript
7
star
25

flutter-url-router

An un-opinionated url-based Router for Nav 2.0
C++
7
star
26

flutter-routed-widget-switcher

Declaratively switch child widgets based on the current `Router` location.
Dart
7
star
27

wobble_drag

A single image used with an EaselJS SpriteSheet
HTML
6
star
28

flutter-experiments

Dart
5
star
29

scssBreakpointUtility

CSS
5
star
30

color_swirl

HTML
5
star
31

flutter-gtween

Dart
3
star
32

flutter-navigator-routing-examples

C++
2
star
33

Backbone-history

JavaScript
2
star
34

flutter-home-widget-vignette

Dart
2
star
35

flutter-demo-extending-state

Demonstrates a couple different methods of extending the base State<T> behavior
Dart
1
star
36

Orcastra

JavaScript
1
star