FLUTTER ECOSYSTEM

melodysdreamj/code_timer

melodysdreamj/code_timer open-source repository details.

code_timer 프로젝트 이미지
Stars
1
Forks
0
최근 푸시(UTC)
2024. 5. 9.
프로젝트 상태
활성
june lee GitHub avatar
GITHUB User

june lee ↗

A developer in Songdo who loves cafes and good restaurants.

언어Dart

이 저장소가 배포한 패키지

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

installation

dart pub add code_timer

usage

  CodeTimer.start();

  // add your code here
  await Future.delayed(const Duration(seconds: 1));

  CodeTimer.stop();

you will see console like this

Execution time: 1004 ms

usage2

CodeTimer.start();

// add your code here
await Future.delayed(const Duration(seconds: 1));

CodeTimer.record(); // optional

// add your code here
await Future.delayed(const Duration(seconds: 1));

CodeTimer.stop();

you will see console like this

Record time: 1004 ms
Execution time: 2007 ms