47387bb395
including the ability to add item into the shopping cart and remove them. The click events have been implemented, however the routes do not exist yet. NOTE: The shopping list item info sheet is still missing the unit type and value and some more advanced options, like deleting the item
19 lines
417 B
Dart
19 lines
417 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class LabeledDivider extends StatelessWidget {
|
|
String label;
|
|
LabeledDivider(this.label);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Row(
|
|
children: [
|
|
const Expanded(child: Divider()),
|
|
Padding(
|
|
padding: const EdgeInsets.all(8),
|
|
child: Text(label)),
|
|
const Expanded(child: Divider()),
|
|
]
|
|
);
|
|
}
|
|
}
|