buildSuffix method
后缀
Implementation
Widget? buildSuffix(DecoratorPositioned positioned) {
final children =
suffixes.where((element) => element.positioned == positioned).toList();
if (children.isEmpty) return null;
if (children.length == 1) return children.first.widget;
return Row(
mainAxisSize: MainAxisSize.min,
children: children.map((entry) => entry.widget).toList());
}