Commit 602e861b authored by Chris Bracken's avatar Chris Bracken Committed by GitHub

Propagate text theme to Tooltip dark theme (#6595)

Also eliminate unused accentColor-related properties.
parent 960989e9
......@@ -268,8 +268,8 @@ class _TooltipOverlay extends StatelessWidget {
ThemeData theme = Theme.of(context);
ThemeData darkTheme = new ThemeData(
brightness: Brightness.dark,
accentColor: theme.accentColor,
accentColorBrightness: theme.accentColorBrightness,
textTheme: theme.brightness == Brightness.dark ? theme.textTheme : theme.primaryTextTheme,
platform: theme.platform,
);
return new Positioned.fill(
child: new IgnorePointer(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment