$ docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dev_dependencies: | |
flutter_test: | |
sdk: flutter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inputItemDialog(BuildContext context, String action, [int index]) { | |
var inventoryDb = Provider.of<HomeModel>(context, listen: false); | |
showDialog( | |
context: context, | |
builder: (context) { | |
return Dialog( | |
child: Container( | |
padding: EdgeInsets.only( | |
left: 15, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ListView.builder( | |
itemCount: model.inventoryList.length, | |
itemBuilder: (context, index) { | |
Inventory inv = model.inventoryList[index]; | |
return Container( | |
margin: EdgeInsets.symmetric( | |
vertical: 2.height, | |
horizontal: 4.5.width, | |
), | |
height: 13.height, |