loading method

Widget loading(
  1. BuildContext context,
  2. T? data
)

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);
}