This repository contains the source code for various Flutter widgets that are developed by Google but not by the core Flutter team.
The Gallery sample application showcases the included Flutter widgets. To build it, first create the default Flutter project files:
cd gallery flutter create .
and then it can be run with
Please file any issues, bugs, or feature requests in the this repo.
Initial release featuring:
html_widget: Limited support for rendering HTML as flutter widgets. currently supports the following tags: div - br - table - b - u - a - font - hr - text
tagged_text: Support for styling text using custom HTML-like tags. This is particularly useful for styling text within a translated string.
Add this to your package's pubspec.yaml file:
dependencies: flutter_widgets: ^0.1.2
You can install packages from the command line:
$ flutter packages get
Alternatively, your editor might support
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.1.2||Feb 11, 2019|
|0.1.0||Nov 28, 2018|
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]
We analyzed this package on Feb 14, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.
lib/src/visibility_detector/demo.dart. (-3.45 points)
lib/src/visibility_detector/demo.dart reported 7 hints, including:
line 42 col 44: Avoid using braces in interpolation when not needed.
line 42 col 51: Avoid using braces in interpolation when not needed.
line 143 col 27: Avoid using braces in interpolation when not needed.
line 143 col 39: Avoid using braces in interpolation when not needed.
line 271 col 33: Avoid using braces in interpolation when not needed.
Maintain an example. (-10 points)
Create a short demo in the
example/ directory to show how to use this package.
Common filename patterns include
flutter_widgets.dart. Packages with multiple examples should provide
For more information see the pub package layout conventions.
|Dart SDK||>=2.0.0 <3.0.0|