findEffects method

void findEffects()

Implementation

void findEffects() {
  var blurs = parent.children
      .where((child) => child is ActorBlur && child is! ActorShadow)
      .toList(growable: false);
  _blur = blurs.isNotEmpty ? blurs.first as ActorBlur : null;
  _dropShadows =
      parent.children.whereType<ActorDropShadow>().toList(growable: false);
  _innerShadows =
      parent.children.whereType<ActorInnerShadow>().toList(growable: false);
}