flutter_widgets 0.1.11

  • Readme
  • Changelog
  • Installing
  • 99

Flutter widgets #

Build Status

This repository contains the source code for various Flutter widgets that are developed by Google but not by the core Flutter team.

Issues #

Please file any issues, bugs, or feature requests in the this repo.

Contributing #

If you wish to contribute a change to any of the existing widgets in this repo, please review our contribution guide, and send a pull request.

0.1.11 #

  • Fix exports of FeatureDiscovery and MaterialResponsiveUiData (issue #63).

  • VisibilityDetector:

    • Style and comment adjustments.

    • Fix a potential infinite loop in the demo app and add tests for it.

0.1.10 #

  • LinkedScrollControllerGroup:

    • Add LinkedScrollControllerGroup.animateTo and LinkedScrollControllerGroup.jumpTo methods that control the scroll position of the group.

0.1.9 #

  • ScrollablePositionedList:

    • Store scroll state in page storage to fix issue #43.
  • LinkedScrollControllerGroup:

    • Add LinkedScrollControllerGroup.addOffsetChangedListener method that calls the provided callback when the scroll offset of the group changes.

0.1.8 #

  • ScrollablePositionedList:

    • Fix padding for horizontal lists.

    • Add ScrollablePositionedList.separated constructor to complete issue #34.

    • Add isAttached method to ItemScrollController.

  • LinkedScrollControllerGroup:

    • Add getter offset that returns the current scroll offset for the group.

0.1.7 #

  • Added the FeatureDiscovery widget.

  • Added the MaterialResponsiveUiData class.

  • Removed the Gallery app.

  • ScrollablePositionedList:

    • Properly bound ScrollablePositionedList to fix issue #23.

    • Allow ScrollablePositionedList alignment outside [0..1] to fix issue #31.

    • Moved ScrollablePositionedList example into example subdirectory.

0.1.6 #

  • Added ScrollablePositionedList.
  • Fixed an incompatibility in VisibilityDetector with Flutter 1.9.1 (issue #20).
  • Removed dependency on package:intl.

0.1.5 #

  • Clarified authors in pubspec.yaml.

  • Fixed lint violations of prefer_collection_literals.

  • Adjust the minimum versions of dependencies.

0.1.4 #

  • VisibilityDetector:

    • Fixed positioning of text selection handles for EditableText-based widgets (e.g. TextField, CupertinoTextField) when used within a VisibilityDetector.

    • Added VisibilityDetectorController.widgetBoundsFor.

0.1.3 #

  • Compatibility fixes for Flutter 1.3.0.

0.1.2 #

  • Added VisibilityDetectorController.forget.

0.1.1 #

  • Add LinkedScrollContainer and VisibilityDetector widgets.

0.1.0 #

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.

Use this package as a library

1. Depend on it

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

  flutter_widgets: ^0.1.11

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_widgets/flutter_widgets.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 26, 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.8

Maintenance suggestions

Maintain an example.

None of the files in the package's example/ directory matches known example patterns.

Common filename patterns include main.dart, example.dart, and flutter_widgets.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.3.0 <3.0.0
collection ^1.14.5 1.14.11 1.14.12
flutter 0.0.0
html ^0.14.0 0.14.0+3
meta ^1.1.1 1.1.8
quiver ^2.0.0+1 2.1.2+1
Transitive dependencies
charcode 1.1.3
csslib 0.16.1
matcher 0.12.6
path 1.6.4
sky_engine 0.0.99
source_span 1.6.0
stack_trace 1.9.3
term_glyph 1.1.0
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
mockito ^3.0.0
pedantic ^1.8.0
test ^1.3.0