TocWidget constructor
const
TocWidget({
- Key? key,
- required TocController controller,
- ScrollPhysics? physics,
- bool shrinkWrap = false,
- EdgeInsetsGeometry? padding,
- TocItemBuilder? itemBuilder,
Implementation
const TocWidget({
Key? key,
required this.controller,
this.physics,
this.shrinkWrap = false,
this.padding,
this.itemBuilder,
}) : super(key: key);