getNoEntriesWidget method
Implementation
Widget getNoEntriesWidget(BuildContext context) {
var noEntriesWidget = Lowder.widgets
.tryBuildWidget(context, widgets["noEntriesWidget"], state, null);
if (noEntriesWidget == null) {
var message = Strings.getCapitalized(
props["noEntriesMessage"] ?? "no_entries_message");
noEntriesWidget = Text(message, style: spec.buildProp("noEntriesStyle"));
noEntriesWidget = Center(
child: Padding(
padding: const EdgeInsets.all(10), child: noEntriesWidget));
}
return noEntriesWidget;
}