settingsCell method
Widget
settingsCell(
- BuildContext context, {
- Key? key,
- Set<
MaterialState> ? materialStates, - Map<
String, dynamic> ? extraInfo, - required Widget child,
override
Setting Cell
This generates the frame of a settings cell, with the contents supplied by the child
parameter
context
the current BuildContextmaterialStates
a set of the current states this cell is in (pressed, selected, disabled, etc)extraInfo
a map where you can pass additional info through to your subclasses to be used however you needchild
the rendered contents of the cell, possibly generated via one of the ...Content() methods below
Implementation
@override
Widget settingsCell(BuildContext context, {Key? key, Set<MaterialState>? materialStates, Map<String, dynamic>? extraInfo, required Widget child}) {
return Container(
key: key,
color: cellBackgroundColor(context, materialStates: materialStates, extraInfo: extraInfo),
// height: rowHeight(context, extraInfo: extraInfo),
child: child,
);
}