wrappedLeadingWidget method

  1. @override
Widget wrappedLeadingWidget(
  1. BuildContext context, {
  2. Key? key,
  3. Set<MaterialState>? materialStates,
  4. Map<String, dynamic>? extraInfo,
  5. 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));
}