Folding Cell offer more content on a list view by providing a detail section as inner Widget. We need not worry about create another widget for this, the pub.dev community have already made one for all of us ( Flutterians).
SimpleFoldingCell
dependencies:
flutter:
sdk: flutter
folding_cell: "^1.0.0"
and import the package as follows
import 'package:folding_cell/folding_cell/widget.dart';
The SimpleFoldingCell come with Create method which will configure the folding with frontWidget , innerWidget, cellSize, animationDuration etc. You have to do build widgets for the front and inner part of the folding and the rest will take care by the FoldingCell widget. Continue reading Flutter widget of the day : Animated Folding Cell