build method

  1. @override
Widget build(
  1. Context context
)
override

Implementation

@override
Widget build(Context context) {
  assert(context.page is! MultiPage,
      '$runtimeType will not work with MultiPage');

  return Column(
    crossAxisAlignment: CrossAxisAlignment.start,
    children: [
      ..._buildToc(context.document.outline, 0),
    ],
  );
}