StackedLeadingButton constructor
const
StackedLeadingButton({
- Key? key,
- Color? color,
- @Deprecated('Use showIfParentCanPop') bool? showBackIfParentCanPop,
- bool? showIfParentCanPop,
- bool showIfChildCanPop = true,
- bool ignorePagelessRoutes = false,
- LeadingButtonBuilder? builder,
Implementation
const StackedLeadingButton({
Key? key,
this.color,
@Deprecated('Use showIfParentCanPop') bool? showBackIfParentCanPop,
bool? showIfParentCanPop,
this.showIfChildCanPop = true,
this.ignorePagelessRoutes = false,
this.builder,
}) : assert(color == null || builder == null),
_showIfParentCanPop =
showIfParentCanPop ?? showBackIfParentCanPop ?? true,
super(key: key);