1. override
Widget build(BuildContext context)

Override this method to build widgets that depend on the current value of the animation.

Source

@override
Widget build(BuildContext context) {
  return new ModalBarrier(
    color: color?.value,
    dismissable: dismissable
  );
}