showEntityTable function
void
showEntityTable(
- BuildContext context,
- NUIEntMapper entity,
- List<
NUIEnt> items, { - RowClickItem? listener,
Implementation
void showEntityTable(BuildContext context, NUIEntMapper entity, List<NUIEnt> items, {RowClickItem? listener}){
final screen = NUIScreen(
content : (context) => Container(
color: NUIColors.NUIWhite,
child: Column(
mainAxisSize: MainAxisSize.max,
children: [
NUIStatusBar(color: NUIColors.NUISkeletalLightGray),
NUIToolbar(content: Text(entity.entityName() + " Table", style: TextStyle(color: NUIColors.NUITextBlack, fontSize: 14, decoration: TextDecoration.none))),
_sampleTableView(entity, items)
],
),
), screenCode: "NUISampleTableScreen");
NUINavigator.push(context, screen);
}