SenzuCenterButtonStyle constructor

SenzuCenterButtonStyle({
  1. double circleSize = 60.0,
  2. Color circleColor = const Color(0x4D000000),
  3. Widget? play,
  4. Widget? pause,
  5. Widget? replay,
  6. Widget? rewind,
  7. Widget? forward,
})

Implementation

SenzuCenterButtonStyle({
  this.circleSize = 60.0,
  this.circleColor = const Color(0x4D000000),
  Widget? play,
  Widget? pause,
  Widget? replay,
  Widget? rewind,
  Widget? forward,
}) : play =
         play ?? const Icon(Icons.play_arrow, color: Colors.white, size: 32),
     pause = pause ?? const Icon(Icons.pause, color: Colors.white, size: 32),
     replay =
         replay ?? const Icon(Icons.replay, color: Colors.white, size: 28),
     rewind =
         rewind ??
         const Icon(Icons.fast_rewind, color: Colors.white, size: 12),
     forward =
         forward ??
         const Icon(Icons.fast_forward, color: Colors.white, size: 12);