getAppBarLeadingWidget method
Implementation
Widget? getAppBarLeadingWidget(String? value) {
if (value == null || value.isEmpty) {
return null;
}
switch (value) {
case "back":
return const BackButton();
case "close":
return const CloseButton();
default:
return null;
}
}