/* * This file is part of Stack Wallet. * * Copyright (c) 2023 Cypher Stack * All Rights Reserved. * The code is distributed under GPLv3 license, see LICENSE file for details. * Generated by Cypher Stack on 2023-05-26 * */ import 'package:flutter/material.dart'; class TableView extends StatelessWidget { const TableView({ super.key, required this.rows, this.rowSpacing = 10.0, this.shrinkWrap = false, }); final List rows; final double rowSpacing; final bool shrinkWrap; // // @override // State createState() => _TableViewState(); // } // // class _TableViewState extends State { @override Widget build(BuildContext context) { debugPrint("BUILD: $runtimeType"); return ListView( shrinkWrap: shrinkWrap, children: [ for (int i = 0; i < rows.length; i++) Column( children: [ if (i != 0) SizedBox( height: rowSpacing, ), rows[i], ], ), ], ); } }