Helper libraries for working with typed data lists. #
typed_data package contains utility functions and classes that makes working with typed data lists easier.
typed_data package can be imported as
Typed buffers: Growable typed data lists #
Typed buffers are contains growable lists backed by typed arrays.
These are similar to the growable lists returned by
but stores typed data like a typed data list.
Features and bugs #
Please file feature requests and bugs at the issue tracker.
- Set max SDK version to
<3.0.0, and adjust other dependencies.
- Undo unnessesary SDK version constraint tweak.
- Expand the SDK version constraint to include
- Fix all strong-mode warnings.
- Fix a bug where
TypedDataBuffer.insertAllcould fail to insert some elements of an
Iterableargument and no end-point.
endparameters to the
insertAll()methods for the typed data buffer classes. These allow efficient concatenation of slices of existing typed data.
addAll()for typed data buffer classes more efficient for lists, especially typed data lists.
- ChangeLog starts here
Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies: typed_data: ^1.1.6
2. Install it
You can install packages from the command line:
$ pub get
$ flutter pub get
Alternatively, your editor might support
pub get or
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 Nov 8, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
- Dart: 2.6.0
- pana: 0.12.21
Detected platforms: Flutter, web, other
No platform restriction found in primary library
lib/typed_buffers.dart. (-1 points)
lib/typed_buffers.dart reported 2 hints:
line 49 col 3: Avoid return types on setters.
line 57 col 11: Use isEmpty instead of length
Package is getting outdated. (-30.68 points)
The package was last published 68 weeks ago.
Maintain an example. (-10 points)
Create a short demo in the
example/ directory to show how to use this package.
Common filename patterns include
typed_data.dart. Packages with multiple examples should provide
For more information see the pub package layout conventions.
|Dart SDK||>=2.0.0-dev.16.0 <3.0.0|