import 'package:flutter/material.dart'; class LakumPointTableRowWidget extends StatefulWidget { final bool isTableTitle; // true : title , false: row final String tableType; // month, day final double points; final double riyal; final Function onTap; final int rowIndex; LakumPointTableRowWidget( this.isTableTitle, this.tableType, this.points, this.riyal, this.onTap, this.rowIndex); @override _LakumPointTableRowWidgetState createState() => _LakumPointTableRowWidgetState(); } class _LakumPointTableRowWidgetState extends State { @override Widget build(BuildContext context) { bool isEven = widget.rowIndex % 2 == 0; return Container( child: Column( children: [ Row( children: [ ], ), const Divider( color: Color(0xFFD6D6D6), height: 1, thickness: 2, indent: 0, endIndent: 0, ), ], ), ); } }