Flutter widgets #
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.
- Fixed an incompatibility in
VisibilityDetectorwith Flutter 1.9.1 (issue #20).
- Removed dependency on package:intl.
Clarified authors in pubspec.yaml.
Fixed lint violations of prefer_collection_literals.
Adjust the minimum versions of dependencies.
Fixed positioning of text selection handles for
EditableText-based widgets (e.g.
CupertinoTextField) when used within a
- Compatibility fixes for Flutter 1.3.0.
Initial release featuring:
html_widget: Limited support for rendering HTML as flutter widgets. currently supports the following tags:
tagged_text: Support for styling text using custom HTML-like tags. This is particularly useful for styling text within a translated string.
Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies: flutter_widgets: ^0.1.6
2. Install it
You can install packages from the command line:
$ 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:
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 Sep 13, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
- Dart: 2.5.0
- pana: 0.12.21
- Flutter: 1.9.1+hotfix.2
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.
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.3.0 <3.0.0|