buildF method
dartdoc: {@category StateX class}
Implementation
Widget buildF(BuildContext context) {
_buildFOverridden = false;
if (useInherited) {
_child ??= builder(context);
} else {
_child = builder(context);
}
return useInherited
? StateXInheritedWidget(
state: this as StateX,
child: _child ?? const SizedBox.shrink(),
)
: _child!;
}