upperSurfaceColor property Null safety

  1. @override
Color upperSurfaceColor
override

Implementation

@override
Color get upperSurfaceColor => (bFactory.controller.model.onIsPressed.value)
    ? const Color(0xff3f0000)
    : super.upperSurfaceColor;