SunMoon constructor

const SunMoon({
  1. Key? key,
  2. bool? isSun,
})

Initialize the Class

Implementation

const SunMoon({
  Key? key,
  this.isSun,
}) : super(key: key);