color property Null safety
If non-null, fill the barrier with this color.
See also:
- ModalRoute.barrierColor, which controls this property for the AnimatedModalBarrier built by ModalRoute pages.
Implementation
Animation<Color?> get color => listenable as Animation<Color?>;