flutter_material_showcase 1.0.1

flutter_material_showcase #

Material Design components showcase for Flutter apps.

This project is based on Ataul's Material Design Components Showcase Android project, but for Flutter!

You can use this Flutter package to preview your ThemeData and see how it looks like with different Material Widgets.


Usage #

Add the MaterialShowcase Widget somewhere in your app:

  title: 'Flutter Demo',
  theme: ThemeData(
    primarySwatch: Colors.blue,
  home: Scaffold(
    body: ListView(
      children: <Widget>[

Then play with the different parameters in ThemeData and see how it looks like.

Contributing #

  • Additions to the MaterialShowcase Widget are welcome.
  • Documentation improvements are welcome.

License #

MIT License

Copyright (c) 2019 Miguel Beltran

Miguel Beltran - beltran.work

[1.0.1] - Fixed warning

  • Fixed reported warning with Flutter 1.12

[1.0.0+4] - Example README.md

  • Updated README.md for example app

[1.0.0+2] - Formatting and description

  • flutter_material_showcase.dart formatting
  • Added longer package description

[1.0.0+1] - README.md changes

  • Updated README.md

[1.0.0] - First release

  • Initial release


Example for flutter_material_showcase #

Run the project contained in example to check this package.

You can edit the contained ThemeData to try different cases:

theme: ThemeData(
  brightness: brightness,
  primarySwatch: Colors.blue,

Also, use the action on the top-right of the screen to switch between light and dark themes, and see how your app reacts to it.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  flutter_material_showcase: ^1.0.1

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:flutter_material_showcase/flutter_material_showcase.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Feb 24, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.5
  • Flutter: 1.12.13+hotfix.7


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies