loading method
This function is called when the LxState of the data is loading.
As it's optional, if it's not needed/overrided the default function (initial) is called.
Implementation
Widget loading(BuildContext context, T? data) {
return initial(context, data);
}