chow_touchables 0.0.2 copy "chow_touchables: ^0.0.2" to clipboard
chow_touchables: ^0.0.2 copied to clipboard

This package gives you access to the Touchableopacity widget. This Package uses the Inkwell to allow interaction and animated to opacity of the widget on touch events.

Chow Design Touchables #

Version Conventional Commits

Chow Design System Touchables

Usage #

import 'package:chow_touchables/chow_touchables.dart';

class ChowApp extends StatelessWidget {
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(title:const  Text('Chow Touchables'),),
         TouchableOpacity(
            onTap: () {},
            onDoubleTap: () {},
            onForcePressEnd: (details) {},
            onLongPress: () {},
            onScaleEnd: (details) {},
            onPanDown: (details) {},
            onHorizontalDragDown: (details) {},
            onTapCancel: () {},

            //you can access other methods
            child: Container(
              height: 50,
              width: double.infinity,
              decoration: BoxDecoration(
                  borderRadius: BorderRadius.circular(10),
                  color: Theme.of(context).colorScheme.primary),
            ),
          ));
      
  }
}

FAQs #

What is this? #

This package gives you access to the Touchableopacity widget. This Package uses the Inkwell to allow interaction and animated to opacity of the widget on touch events.

1
likes
130
points
40
downloads

Publisher

unverified uploader

Weekly Downloads

This package gives you access to the Touchableopacity widget. This Package uses the Inkwell to allow interaction and animated to opacity of the widget on touch events.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on chow_touchables