Loading overlay controlled by visibility or a DataSource loading state.
TxLoadPanel
| Parameter | Type | Default | Meaning |
|---|---|---|---|
| visible | bool? | null | Controls visibility. |
| dataSource | TxDataSource<dynamic>? | null | List, configuration or DataSource instance; takes precedence over items. |
| message | String | 'Wird geladen …' | Notification text. |
| delay | Duration | Duration.zero | Delay before showing the loading overlay. |
| shading | bool | true | Shows a shaded background. |
| child | Widget? | null | Content or target widget. |
import 'package:flutter/material.dart';
import 'package:tecexpress/tecexpress.dart';
Widget example() {
return const SizedBox(height: 160, child: TxLoadPanel(visible: true, child: Center(child: Text('Content'))));
}