TSeeAllView<T> constructor

TSeeAllView<T>({
  1. Key? key,
  2. required String title,
  3. required List<T> list,
  4. required void onSeeAllClicked(
    1. String title,
    2. List<T> list
    ),
  5. required Widget gridItemBuilder(
    1. BuildContext context,
    2. T item
    ),
  6. int showCount = 4,
  7. EdgeInsetsGeometry? margin,
  8. double fontSize = 11,
  9. double padding = 6,
  10. String moreTitle = 'More',
  11. Color? titleColor,
  12. double itemHeight = 200,
  13. double itemWidth = 160,
  14. bool showMoreButtonBottomPos = false,
})

Implementation

TSeeAllView({
  super.key,
  required this.title,
  required this.list,
  required this.onSeeAllClicked,
  required this.gridItemBuilder,
  this.showCount = 4,
  this.margin,
  this.fontSize = 11,
  this.padding = 6,
  this.moreTitle = 'More',
  this.titleColor,
  this.itemHeight = 200,
  this.itemWidth = 160,
  this.showMoreButtonBottomPos = false,
});