nauticsTiles method
Implementation
Widget nauticsTiles() {
Container nauticsTiles = Container(
width: widget.expandedWidth,
color: widget.isFloating == true
? null
: widget.nauticsColor ?? Colors.white,
child: Container(
decoration: widget.expandedNauticsDecoration,
child: Column(
mainAxisAlignment: widget.mainAxisAlignmentExpandedForm,
crossAxisAlignment: widget.crossAxisAlignmentExpandedForm,
children: [
widget.header == null ? Container() : headerTile(),
Expanded(
child: ListTileTheme(
selectedColor:
widget.selectedColor ?? Theme.of(context).primaryColor,
child: ListView.builder(
itemCount: widget.children.length,
itemBuilder: (BuildContext context, int index) {
TabItem tI = widget.children[index];
return tabTile(
tabItem: tI,
context: context,
index: index,
itemChildSelected: itemChildSelected!,
isLevelOne: true,
);
},
),
),
),
widget.footer == null ? Container() : footerTile(),
],
),
),
);
return GestureDetector(
onTap: transformNautics,
child: widget.isFloating == true
? Floater(
backgroundColor: widget.nauticsColor ?? Colors.white,
child: nauticsTiles,
)
: nauticsTiles,
);
}