FLUTTER ECOSYSTEM

touchable_opacity

This widget lets you provide a more visual feedback to users when they interact with your app, similar to TouchableOpacity in React Native.

touchable_opacity cover
Latest version
1.2.0
30-day downloads
2K
Likes
17
Pub points
140

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

The touchable_opacity package provides a Flutter widget that delivers visual feedback when users interact with UI elements, mimicking the behavior of TouchableOpacity from React Native. It enhances user experience by subtly changing opacity on press, making interactions feel more responsive. Compatible across all major platforms including Android, iOS, Web, macOS, Windows, and Linux, it integrates seamlessly into existing Flutter projects. The package is lightweight and designed for simplicity, focusing on intuitive touch feedback without additional complexity.

Use cases
  • Adding interactive feedback to buttons
  • Improving UX in mobile and web apps
  • Creating responsive UI elements
  • Enhancing accessibility through visual cues
  • Simplifying gesture handling in forms
Key features
  • Opacity-based press feedback
  • Cross-platform compatibility
  • Minimal setup required
  • Matches React Native's TouchableOpacity behavior
  • Lightweight and performant
Suitable for
  • Flutter developers familiar with React Native
  • Apps requiring consistent touch feedback
  • UI-heavy applications
  • Developers seeking simple gesture enhancements
  • Projects targeting multiple platforms
Considerations
  • Limited to opacity changes (no other animations)
  • Not suitable for complex gesture interactions
  • May require additional styling for custom effects
  • Depends on external source code repository
  • No built-in support for haptic feedback
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add touchable_opacity

Categories

Source repository

Related projects