Question: Badge in CupertinoNavigationBar
robert-virkus opened this issue · comments
Robert Virkus commented
Hi,
I am using a badge to indicate a problem on an iOS app. I specify a leading
parameter in the CupertinoNavigationBar
like this:
return CupertinoNavigationBar(
leading: CupertinoButton(
child: Badge(child: Text('< Accounts')),
onPressed: () {},
),
);
My problem now is that the leading
is truncated. Do you happen to know how I can ensure that the whole widget is shown?
Thanks a lot for the help and the great badges project!
ruskryzhanovskiy commented
@robert-virkus, sorry for the delay.
Your code does not work even without the flutter_badges
package.
You need to fix it yourself
This isn't related to the package.