press_region library

Classes

PressRegion
Makes a widget pressable: tap, hover, focus and keyboard activation, with the plain state layer overlay paints over fill inside shape. A widget that shows those states itself leaves overlay null and listens.