Handles the tap up event by resetting the background color to color and triggering the onPressed callback.
@override void onTapUp(TapUpEvent event) { background.paint.color = color; onPressed(); }