Time Button

Pub

A new Flutter timer button widget.

Getting Started

Installation

Add to pubspec.yaml in dependencies

time_button: ^1.0.0

Usage


import 'package:time_button/flutter_time_button.dart';

TimeButton(
    label: 'Click me',
    timeout: 30,
    toastMessage: 'Click!',
    onPressed: () => print('Click!'),
  );

Libraries

flutter_time_button