flutter clock

liuyuqi-dellpc 614b053aee Merge branch 'release/1.0.3' 3 months ago
.devcontainer e347ab1bb4 0 3 years ago
.github 1f46fd06d5 fix bugs 4 years ago
android 8959df1dbc 更改名称 3 months ago
assets b851e34f39 1 4 months ago
ios 44785d4b95 init 4 years ago
lib 4707aaf9c7 设置页面状态 3 months ago
linux 0e5700f2ca 整点对齐,开启之后,当点击倒计时按钮之后,等待当前时间对齐满十分钟,如当前时间 9:13,等到了 9:20 再开始倒计时 3 months ago
test 44785d4b95 init 4 years ago
web 44785d4b95 init 4 years ago
windows 0e5700f2ca 整点对齐,开启之后,当点击倒计时按钮之后,等待当前时间对齐满十分钟,如当前时间 9:13,等到了 9:20 再开始倒计时 3 months ago
.gitignore 44785d4b95 init 4 years ago
.gitpod.Dockerfile e347ab1bb4 0 3 years ago
.gitpod.yml e347ab1bb4 0 3 years ago
.metadata 44785d4b95 init 4 years ago
README.md 4805ba4ea0 1 4 months ago
analysis_options.yaml 0e5700f2ca 整点对齐,开启之后,当点击倒计时按钮之后,等待当前时间对齐满十分钟,如当前时间 9:13,等到了 9:20 再开始倒计时 3 months ago
pubspec.lock 091bb036ed 设置屏幕大小 3 months ago
pubspec.yaml 091bb036ed 设置屏幕大小 3 months ago

README.md

Flutter Clock App

A Flutter clock app with timer functionality. This app features:

  1. Clean, modern UI
  2. Timer with customizable duration
  3. Countdown timer with visual progress indicator
  4. Timer settings including sound, volume, vibration and loop options
  5. Screen wake lock feature to prevent screen from turning off during countdown

Features

  • Timer Setup: Set hours, minutes, and seconds using smooth wheel pickers
  • Countdown View: Visual circular progress indicator showing remaining time
  • Settings:
    • Choose from different alarm sounds
    • Adjust volume
    • Enable/disable vibration
    • Enable/disable loop timer functionality
  • Screen Wake Lock: Keep the screen on during countdown

Getting Started

Prerequisites

  • Flutter SDK 2.19.2 or higher
  • Dart SDK 2.19.0 or higher

Installation

  1. Clone the repository
  2. Navigate to the project directory
  3. Run the following command to get dependencies:

    flutter pub get
    
  4. Run the app:

    flutter run
    

Usage

  1. Set the timer duration using the wheel pickers
  2. Press the center play button to start the timer
  3. Press the left button to toggle screen wake lock
  4. Press the right button to access settings
  5. In the settings, you can:
    • Choose a sound
    • Adjust volume
    • Toggle vibration
    • Toggle loop timer function

License

This project is open source.