Comments (3)
I'm sorry that you are hitting an issue with crclib. I can't seem to reproduce it, however. Did you forget to flutter pub get
or pub get
?
$ cat pubspec.yaml
name: test
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
crclib: ^2.0.0
publish_to: none
$ /usr/lib/google-dartlang/bin/pub get
Resolving dependencies... (1.1s)
+ crclib 2.0.0
+ matcher 0.12.10
+ meta 1.3.0
+ path 1.8.0
+ quiver 2.1.5 (3.0.1 available)
+ stack_trace 1.10.0
+ tuple 1.0.3 (2.0.0 available)
Downloading crclib 2.0.0...
Downloading tuple 1.0.3...
Downloading meta 1.3.0...
Downloading quiver 2.1.5...
Downloading matcher 0.12.10...
Downloading stack_trace 1.10.0...
Downloading path 1.8.0...
Changed 7 dependencies!
$ cat main.dart
import 'package:crclib/catalog.dart';
int main() {
print(Crc32().convert([0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39]).toRadixString(16));
return 0;
}
$ /usr/lib/google-dartlang/bin/dart main.dart
cbf43926
from crclib.dart.
Hi.
I have updated Dart version (from 2.7.0 to 2.12.4) and now works fine.
The crclib package it's installed on a pure Dart project, not a Flutter project. The local Dart version was different than uses Flutter sdk.
Thanks for your response.
from crclib.dart.
Glad you've found a solution.
from crclib.dart.
Related Issues (9)
- Null Safety support HOT 9
- calculated CRC16 ARC HOT 6
- Web Support HOT 1
- Does this package have Python crc_hqx function equivalent? HOT 10
- BadState with null safety version HOT 2
- Dart CI workflow failed because of no VM image
- Automatically extract parameters from `reveng` catalog HOT 1
- Does the lib support for CRC_16 [ISO3309]? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crclib.dart.