Flutter: Unable to get the Expanded widget to work with trailing property for my list to render properly on the screen

I need the Expanded widget to co-operate with the trailing property otherwise all the ListTile contents is squished to the far-right of the screen. However, I get the following error message and not sure how to fix the issue. Error message: ======== Exception caught by widgets library > ======================================================= The following assertion was thrown while… Read More Flutter: Unable to get the Expanded widget to work with trailing property for my list to render properly on the screen

Listview.builder -> Height of Container is stretching in Flutter, even if I put smaller value?

I am using Listview.builder with expanded as its parent due to column, but I am getting empty space at the bottom of this Notice Board widget. I had used every type of method to prevent this space but fail to get the desired results. Suggestions will be appreciated. Here is the code that I am… Read More Listview.builder -> Height of Container is stretching in Flutter, even if I put smaller value?