buildDrawOrder method

  1. @override
void buildDrawOrder(
  1. List<Drawable> drawables,
  2. DrawRules? rules,
  3. List<DrawRules> allRules
)

Implementation

@override
void buildDrawOrder(
    List<Drawable> drawables, DrawRules? rules, List<DrawRules> allRules) {
  if (drawRules != null) {
    // ignore: parameter_assignments
    rules = drawRules!;
    allRules.add(rules);
  }
  super.buildDrawOrder(drawables, rules, allRules);
}