Code Monkey home page Code Monkey logo

piva-timer's Introduction

Piva - Timer

Codemagic build status

What you can do with Piva Timer?

Let's think about whether you are a student or a worker, it does not matter. It's common that almost every person when they work, set time to evaluate their work time. Piva supplies this to you via Flutter. You just have to set a time, and that's it. When the time is up, it will send notifications to you, even foreground and background (locked phone, switching apps, etc.).

Also If you need multiple languages, you can easily implement them, via the localization folder (right now the app has 2 languages, Turkish, and English).

Simple, but useful.

Medium Article

Part 1: https://medium.com/@sahinefe/flutter-timer-piva-localization-notification-managing-state-part-1-27dbe2c7df45

Part 2: https://medium.com/@sahinefe/flutter-timer-piva-localization-notification-managing-state-part-2-36b1dc39f39d

Part 3: https://medium.com/@sahinefe/flutter-timer-piva-localization-notification-managing-state-part-3-a42b03eb6ba1

Packages:

• flutter_localizations

• flutter_bloc

• freezed_annotation

• flutter_countdown_timer

• simple_timer (for the first 3 part of the Medium articles, it is not necessary for the last version of the app)

• numberpicker

• wave

• flutter_local_notifications

• rxdart

• timezone

• flutter_native_timezone

• flutter_platform_widgets

• flutter_native_splash

• cupertino_icons

• format

• responsive_framework

Some significant notes:

-> Before implement the codes of Piva Timer, you need to be careful when you try to implement, since there are some packages which are do not support the Web Platform, or iOS platform (it depends on package). So you may need control some package documentations.

-> In the application section, you can use just cubits, since there are no any complicated bussines logic.

Some Gifs From the App

Piva Timer - Web

pivaWeb

Piva Timer - Mobile

piva1 piva piva3 piva4 piva_error

piva-timer's People

Contributors

alperefesahin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

gideonoyekale

piva-timer's Issues

In the background, after a while elapsed time proceeds slowly

In the background, after a while elapsed time proceeds slowly. For example, we set the time to 15 min. After a 10 min. we need to see 5 min, but I see 11 min. So there is a timing or state problem. I also look the app permissions, but it is not for that situation, because I tested lots of android devices.

I calculate the remaining time with this code:
final notificationDuration = (timerController!.duration! - state.spentFocusedTime).inSeconds;

Actually, it works properly, but after a while, it is not.

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.