Propagate text theme to Tooltip dark theme (#6595)

Also eliminate unused accentColor-related properties.
This commit is contained in:
Chris Bracken
2016-10-31 16:36:58 -07:00
committed by GitHub
parent 960989e943
commit 602e861b15

View File

@@ -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(