build method
Implementation
@override
Widget build(BuildContext context) {
if (texts.isEmpty) {
return const SizedBox.shrink();
}
if (isReactive) {
return _getConfigStreamByContextName(contextName)
.build((context, config) {
for (final text in texts) {
if (text.isInterpolated) {
text.data = text.data.interpolate(config);
}
text.data = text.data.interpolateAny(config);
}
return _build(context);
});
}
return _build(context);
}