wrappedLeadingWidget method
Widget
wrappedLeadingWidget(
- BuildContext context, {
- Key? key,
- Set<
MaterialState> ? materialStates, - Map<
String, dynamic> ? extraInfo, - Widget? child,
override
Implementation
@override
Widget wrappedLeadingWidget(BuildContext context, {Key? key, Set<MaterialState>? materialStates, Map<String, dynamic>? extraInfo, Widget? child}) {
child ??= SizedBox(width: leadingIndent(context), height: leadingIndent(context));
return Center(key: key, child: Container(color: Colors.transparent, width: leadingIndent(context), height: leadingIndent(context), alignment: Alignment.center, child: child));
}