CastButton constructor Null safety

CastButton(
  1. {required FlutterCastFramework castFramework,
  2. Color color = const Color(0xFFFFFFFF),
  3. EdgeInsets padding = const EdgeInsets.all(8.0)}
)

Implementation

CastButton({
  required this.castFramework,
  this.color = const Color(0xFFFFFFFF), // white
  this.padding = const EdgeInsets.all(8.0),
});