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 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.
Please file feature requests and bugs at the issue tracker.
<3.0.0, and adjust other dependencies.
TypedDataBuffer.insertAllcould fail to insert some elements of an
Iterableargument and no end-point.
end parameters to the
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.
Add this to your package's pubspec.yaml file:
dependencies: typed_data: ^1.1.6
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.
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 Jul 15, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
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
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|