Whatever you felt and saw before should be beautiful in your memory, so sometimes you want to go back and feel that moment again, but remember there is nothing completely same as before. If you don't wanna get hurt, please leave your memory beautiful, don't do anything for your memory or you will overwrite it with bad experience.
To show new page when user tap, use Navigator.of(context).push(MaterialPageRoute(builder: builder)). In this builder, it is required to provide (ctx) = {} function and inside of this blacket, you need to add what you want to show on the page.
When we know the length of list, it's recommended using ListView widget. This widget is used with builder function and the attributions are itemCount and itemBuilder. For itemBuilder, you can utilise Dismissible widget. This widget is used with onDismissed which is method, when user slides the item, it is executed. This time, remove function has been provided and child. This child comes with ExpenseItem.
To provide theme for flutter app, apply theme in MaterialApp widget. theme needs ThemeData widget to set theme and useMaterial3, colorScheme and appBarTheme, and so on. When user slide left or right to delete item, red background is convenient to see because it lets user know, it will be deleted, so to apply this, in Dismissible widget, you need to apply background with Container widget. For color attribution, you need to provide Theme.of(context).colorScheme.error.