settingsCellBottom method
Widget
settingsCellBottom(
- BuildContext context, {
- Key? key,
- Set<
MaterialState> ? materialStates, - required int cellIndex,
- required int cellCount,
- Map<
String, dynamic> ? extraInfo,
override
Settings Cell Bottom
- a widget to appear below of the settings cell (keyline or something)
context
the current BuildContextmaterialStates
a set of the current states this cell is in (pressed, selected, disabled, etc)cellIndex
the index number of this cell in its sectioncellCount
the total number of cells in its sectionextraInfo
a map where you can pass additional info through to your subclasses to be used however you need
Implementation
@override
Widget settingsCellBottom(BuildContext context, {Key? key, Set<MaterialState>? materialStates, required int cellIndex, required int cellCount, Map<String, dynamic>? extraInfo}) {
return (cellIndex < (cellCount - 1)) ? SizedBox.shrink(key: key) : keyline(context, key: key, extraInfo: extraInfo);
}