TocWidget constructor

const TocWidget({
  1. Key? key,
  2. required TocController controller,
  3. ScrollPhysics? physics,
  4. bool shrinkWrap = false,
  5. EdgeInsetsGeometry? padding,
  6. TocItemBuilder? itemBuilder,
})

Implementation

const TocWidget({
  Key? key,
  required this.controller,
  this.physics,
  this.shrinkWrap = false,
  this.padding,
  this.itemBuilder,
}) : super(key: key);