diff --git a/packages/flutter/lib/src/material/tooltip.dart b/packages/flutter/lib/src/material/tooltip.dart index 29467da68b..9a99b242ce 100644 --- a/packages/flutter/lib/src/material/tooltip.dart +++ b/packages/flutter/lib/src/material/tooltip.dart @@ -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(