bindAttribute method
Implementation
Widget bindAttribute(
Widget element,
String attribute, [
String Function(T value)? builder,
]) {
builder ??= (value) => value.toString();
return StateAttributeWidget<T>(
child: element, state: this, builder: builder, attribute: attribute);
}