build method
Implementation
Widget build(BuildContext context) {
assert(debugCheckHasFluentTheme(context));
final theme = NavigationPaneTheme.of(context);
return Padding(
key: itemKey,
padding: theme.iconPadding ?? EdgeInsets.zero,
child: DefaultTextStyle(
style: theme.itemHeaderTextStyle ?? TextStyle(),
child: header,
softWrap: false,
maxLines: 1,
overflow: TextOverflow.fade,
textAlign: TextAlign.left,
),
);
}