RichbarRoute<T> constructor
RichbarRoute<T> ({
- required Richbar richbar,
- RouteSettings? routeSettings,
Implementation
RichbarRoute({
required this.richbar,
RouteSettings? routeSettings,
}) : builder = Builder(builder: (BuildContext context) {
return GestureDetector(
onTap: richbar.onPressed != null
? () => richbar.onPressed!(richbar)
: null,
child: richbar,
);
}),
onStatusChanged = richbar.onStatusChanged,
super(settings: routeSettings) {
_configAlignment(richbar.richbarPosition);
}