payoutCard function
Implementation
payoutCard(Color backgroundColor, DateTime _time, double payout){
return InkWell(
child: Container(
padding: EdgeInsets.all(10),
decoration: BoxDecoration(
color: backgroundColor,
borderRadius: BorderRadius.circular(aTheme.radius),
),
child:
Row(
children: <Widget>[
Expanded(child: Text("${appSettings.getDateTimeString(_time)}:", style: aTheme.style14W400)),
SizedBox(width: 10,),
Text("-" + getPriceString(payout),
style: aTheme.style14W400, overflow: TextOverflow.ellipsis, textAlign: TextAlign.end,),
],
),
),
);
}