Coder Social home page Coder Social logo

idle_tracker's People

Contributors

jolleekin avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

augustpi

idle_tracker's Issues

App can't compile due to issue in idle_tracker code.

Hello,

How do I resolve the below issue?

/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/idle_tracker-0.0.2/lib/idle_tracker.dart:79:7: Error: The getter 'window' isn't defined for the class 'IdleTracker'.

  • 'IdleTracker' is from 'package:idle_tracker/idle_tracker.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/idle_tracker-0.0.2/lib/idle_tracker.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'window'.
    window.removeEventListener(t, _resetTimer);
    ^^^^^^
    2

FAILURE: Build failed with an exception.

Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.0.2, on Microsoft Windows [Version 10.0.18363.1440], locale en-GB)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Android Studio (version 4.1.0)
[√] VS Code (version 1.54.1)
[√] Connected device (3 available)

• No issues found!

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.