Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/tip navigation: New optional navigation options for the Showcase() widget #273

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Tip navigation and end icon are colored correctly.
  • Loading branch information
mdrideout committed Sep 26, 2022
commit bdc835ee95d815b84180fa5b7571d2d4ee91df6b
6 changes: 5 additions & 1 deletion lib/src/tooltip_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,11 @@ class _ToolTipWidgetState extends State<ToolTipWidget>
child: Container(
padding: const EdgeInsets.all(endIconPaddingAll),
color: widget.tooltipColor,
child: const Icon(Icons.close, size: endIconSize),
child: Icon(
Icons.close,
size: endIconSize,
color: widget.textColor,
),
),
),
),
Expand Down
7 changes: 6 additions & 1 deletion lib/src/tooltip_widget_nav.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@ class TooltipWidgetNav extends StatelessWidget {
const SizedBox(width: 4.0),
Padding(
padding: const EdgeInsets.only(top: 4.0),
child: Text("${activeWidgetId + 1} / ${ids.length}"),
child: Text(
"${activeWidgetId + 1} / ${ids.length}",
style: TextStyle(
color: textColor,
),
),
),
const SizedBox(width: 4.0),
],
Expand Down