fade method

void fade({
  1. double darkness = 0.5,
  2. bool family = true,
})

Implementation

void fade({double darkness = 0.5, bool family = true}) {
  if (family) {
    for (var submob in submobjects) {
      submob.fade(darkness: darkness, family: true);
    }
  }
}