This commit is contained in:
mohammad
2024-09-02 14:52:06 +03:00
parent ddcdd4891a
commit 00bce2d0ab
8 changed files with 54 additions and 32 deletions

View File

@ -5,6 +5,7 @@ import 'package:syncrow_web/utils/constants/assets.dart';
class DynamicTable extends StatefulWidget {
final List<String> headers;
final String? tableName;
final List<List<dynamic>> data;
final BoxDecoration? headerDecoration;
final BoxDecoration? cellDecoration;
@ -20,6 +21,7 @@ class DynamicTable extends StatefulWidget {
required this.headers,
required this.data,
required this.size,
this.tableName,
required this.isEmpty,
required this.withCheckBox,
required this.withSelectAll,
@ -106,7 +108,8 @@ class _DynamicTableState extends State<DynamicTable> {
height: 15,
),
Text(
'No Devices',
// no password
widget.tableName=='AccessManagement'? 'No Password ' : 'No Devices',
style: Theme.of(context)
.textTheme
.bodySmall!