Skip to content

Instantly share code, notes, and snippets.

@burhanaksendir
burhanaksendir / DRChronometer.java
Created October 7, 2023 19:32 — forked from draekko/DRChronometer.java
Chronometer class to display timer in HH:MM:SS format based on the Android Chronometer class.
/*
* Copyright (C) 2008 The Android Open Source Project
* Copyright (C) 2017 Benoit Touchette (Draekko RAND)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
import 'dart:ui';
import 'package:flutter/material.dart';
import 'package:flutter/scheduler.dart';
void main() => runApp(MyApp());
const sampleText = '''
Flutter is an open-source UI software development kit created by Google.
It is used to develop applications for Android, iOS, Linux, Mac, Windows, Google Fuchsia,[4] and the web from a single codebase.[5]