CPD-Pruefungsleistung2-Abgabe/lib/components/table_row_not_text_element....

26 lines
611 B
Dart

import 'package:flutter/material.dart';
class TableRowNotTextElement extends StatelessWidget {
const TableRowNotTextElement({super.key, required this.width, required this.paddingVertical, required this.child});
final double width;
final double paddingVertical;
final Widget child;
static const double hight = 26;
@override
Widget build(BuildContext context) {
return SizedBox(
width: width,
child: Padding(
padding: EdgeInsets.symmetric(vertical: paddingVertical),
child: Align(
alignment: Alignment.centerLeft,
child: child
)
),
);
}
}