I have a simple custom widget trans() (short for transaction) that just takes a number and a Boolean and displays a row, and I have a list:
trans()
List