DecoratedBox

This widget detect user interaction event like GestureDetector Widget in Flutter.

See: https://api.flutter.dev/flutter/widgets/GestureDetector-class.html

Props

onClick

Value: (() => void) | undefined

child

Value: Widget | undefined

Basic