buildSupplementary method
Implementation
Widget buildSupplementary(BuildContext context, FastMediaType mediaType) {
if (supplementaryBuilder != null) {
final borderPosition =
supplementaryBehavior == FastSplitSupplementaryBehavior.sideBar
? FastPosition.left
: FastPosition.right;
return Container(
constraints: BoxConstraints(maxWidth: _getColumnWidth(mediaType)),
decoration: _getColumnBoxDecoration(
context,
borderPosition: borderPosition,
),
child: Builder(builder: supplementaryBuilder!),
);
}
return const SizedBox.shrink();
}