Git Product home page Git Product logo

Comments (3)

postmasters avatar postmasters commented on May 3, 2024

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.

sami-samcla avatar sami-samcla commented on May 3, 2024

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.

postmasters avatar postmasters commented on May 3, 2024

Glad you've found a solution.

from crclib.dart.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.