This commit is contained in:
nicco
2018-08-30 15:23:14 +02:00
parent bd56a63300
commit 7ecd7e9519
9 changed files with 287 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
import 'package:flutter/material.dart';
class ListItem extends StatelessWidget {
ListItem({this.left, this.right});
final int left;
final String right;
Widget build(BuildContext context) {
return Row(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
Container(
margin: const EdgeInsets.only(right: 4.0),
child: Text('${left.toString()}.',
style: TextStyle(fontWeight: FontWeight.bold))),
Text(right, style: TextStyle())
],
);
}
}