gallerize 0.3.0 copy "gallerize: ^0.3.0" to clipboard
gallerize: ^0.3.0 copied to clipboard

Flutter package for creating Flutter Gallery-like gallery/demo for your package/widget.

example/lib/main.dart

import 'package:example/my_fancy_widget.dart';
import 'package:flutter/material.dart';
import 'package:gallerize/gallerize.dart';
import 'package:gallerize/themes/gallerize_theme_data.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'My Fancy Widget Gallery',
      theme: GallerizeThemeData.darkThemeData,
      home: const GallerizePage(
          name: "My Fancy Widget",
          description:
              "This is a gallery app demoing the fancy widget that I created. "
              "With the help of the fancy widget, you can create the "
              "fanciest app you have ever seen!",
          codeFile: "lib/my_fancy_widget.dart",
          preview: MyFancyWidget()),
    );
  }
}
10
likes
140
pub points
21%
popularity
screenshot

Publisher

verified publisherwiefel.dev

Flutter package for creating Flutter Gallery-like gallery/demo for your package/widget.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_highlighting, google_fonts, highlighting

More

Packages that depend on gallerize