add_remove_continuous_pressure 1.0.1 copy "add_remove_continuous_pressure: ^1.0.1" to clipboard
add_remove_continuous_pressure: ^1.0.1 copied to clipboard

Add a widget that contains an increase button, a decrease button, and a widget that displays the value. You can increase or decrease the number by holding down or clicking once.

example/add_remove_continuous_pressure_example.dart

import 'package:add_remove_continuous_pressure/add_remove_continuous_pressure.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(
    MaterialApp(
      home: Material(
        child: AddRemove(
          min: 1,
          max: 10,
          data: 20,
          speed: 500,
          spacing: 8,
          expanded: false,
          childAdd: Text("Add"),
          axis: Axis.horizontal,
          childRemove: Text("Remove"),
          event: (data) => print(data),
          childNumber: (data) => Text(data),
        ),
      ),
    ),
  );
}
5
likes
135
points
15
downloads

Publisher

verified publisherreqponse.com

Weekly Downloads

Add a widget that contains an increase button, a decrease button, and a widget that displays the value. You can increase or decrease the number by holding down or clicking once.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on add_remove_continuous_pressure