GardenPlanner/lib/widgets/content_widgets/new_beet_row.dart

20 lines
461 B
Dart
Raw Permalink Normal View History

2023-06-25 10:13:39 +02:00
import 'package:flutter/material.dart';
class NewBeetRow extends StatelessWidget {
final VoidCallback onNewRow;
const NewBeetRow({Key? key, required this.onNewRow}) : super(key: key);
@override
Widget build(BuildContext context) {
return Container(
margin: const EdgeInsets.all(20),
alignment: Alignment.topLeft,
child: ElevatedButton(
onPressed: onNewRow,
child: const Text('Neue Reihe'),
),
);
}
}