flutter_widget_gallery 0.1.2+1 copy "flutter_widget_gallery: ^0.1.2+1" to clipboard
flutter_widget_gallery: ^0.1.2+1 copied to clipboard

Widget Gallery Viewer

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_widget_gallery

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  flutter_widget_gallery: ^0.1.2+1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:flutter_widget_gallery/gallery/gallery.dart';
import 'package:flutter_widget_gallery/gallery/widgets/thumbnail_item.dart';
import 'package:flutter_widget_gallery/gallery/widgets/thumbnails_carousel.dart';
import 'package:flutter_widget_gallery/gallery/widgets/thumbnails_drawer.dart';
import 'package:flutter_widget_gallery/gallery/widgets/viewer.dart';
import 'package:flutter_widget_gallery/gallery/widgets/viewer_child.dart';
import 'package:flutter_widget_gallery/gallery/widgets/widgets.dart';
import 'package:flutter_widget_gallery/main.dart';