fanfq / flutter_catalog

An app showcasing Flutter components, with side-by-side source code view.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flutter Catalog

Get it on Google Play Get it on AppStore Awesome Flutter

An app showcasing Flutter components, with side-by-side source code view.

🚀🚀 New: Flutter Catalog is now available in the browser! Check it out here. And note there are some limitations to the web variant.

Screenshots

How to contribute by adding a new example page

  1. Create a dart file under lib/route/ (or just duplicate a file, e.g. cp widgets_icon_ex.dart new_example.dart);
  2. In the new file, create a class that extends MyRoute;
  3. Add constructor, the convention is to use the file path as constructor's default parameter;
  4. (Optional) override getters: title, description, links;
  5. Override buildMyRouteContent(), try to make the code simple, as it'll be shown on phone screens;
  6. Open lib/my_app_meta.dart, import the new file at the beginning of file;
  7. In kMyAppRoutesStructure, add an instantiation of the new class under the appropriate item group.

Credits

This app is written with reference to many resources, including:

About

An app showcasing Flutter components, with side-by-side source code view.

License:MIT License


Languages

Language:Dart 96.0%Language:CMake 1.7%Language:HTML 0.9%Language:C++ 0.6%Language:Ruby 0.3%Language:C 0.2%Language:CSS 0.2%Language:Swift 0.1%Language:Kotlin 0.1%Language:Objective-C 0.0%