items property
Pass a list of PlutoLayoutTabItem
.
PlutoLayoutTabItem(
id: 'Unique ID',
title: 'Tab Menu Title',
tabViewBuilder: (c) {
return Padding(
padding: EdgeInsets.all(15),
child: ListView(
children: const [
Text('Tab Menu contents'),
SizedBox(height: 15),
Text('Tab Menu contents'),
SizedBox(height: 10),
Text('Tab Menu contents'),
],
),
);
},
),
Implementation
final List<PlutoLayoutTabItem> items;