Skip to content

Commit

Permalink
style: tooltip theming
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmercerind committed Oct 11, 2022
1 parent c542768 commit 7a8cdff
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 49 deletions.
6 changes: 0 additions & 6 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ PODS:
- video_thumbnail (0.0.1):
- Flutter
- libwebp
- wakelock (0.0.1):
- Flutter

DEPENDENCIES:
- awesome_notifications (from `.symlinks/plugins/awesome_notifications/ios`)
Expand All @@ -108,7 +106,6 @@ DEPENDENCIES:
- status_bar_control (from `.symlinks/plugins/status_bar_control/ios`)
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
- video_thumbnail (from `.symlinks/plugins/video_thumbnail/ios`)
- wakelock (from `.symlinks/plugins/wakelock/ios`)

SPEC REPOS:
trunk:
Expand Down Expand Up @@ -148,8 +145,6 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/url_launcher_ios/ios"
video_thumbnail:
:path: ".symlinks/plugins/video_thumbnail/ios"
wakelock:
:path: ".symlinks/plugins/wakelock/ios"

SPEC CHECKSUMS:
awesome_notifications: 04530aafec8dac4635244ed4b4072f4aea6cc938
Expand All @@ -175,7 +170,6 @@ SPEC CHECKSUMS:
status_bar_control: 7c84146799e6a076315cc1550f78ef53aae3e446
url_launcher_ios: 839c58cdb4279282219f5e248c3321761ff3c4de
video_thumbnail: c4e2a3c539e247d4de13cd545344fd2d26ffafd1
wakelock: d0fc7c864128eac40eba1617cb5264d9c940b46f

PODFILE CHECKSUM: c13e46c3c62e4a32689ef7c4ce943adb97fc468c

Expand Down
11 changes: 10 additions & 1 deletion lib/utils/theme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,19 @@ ThemeData createTheme({
brightness: light ? Brightness.light : Brightness.dark,
),
tooltipTheme: TooltipThemeData(
textStyle: Platform.isWindows || Platform.isLinux || Platform.isMacOS
? TextStyle(
fontSize: 12.0,
color: light ? Colors.white : Colors.black,
)
: null,
decoration: BoxDecoration(
color: light ? Colors.black : Colors.white,
borderRadius: BorderRadius.circular(4.0),
borderRadius: Platform.isAndroid || Platform.isIOS
? BorderRadius.circular(16.0)
: BorderRadius.circular(4.0),
),
height: Platform.isAndroid || Platform.isIOS ? 32.0 : null,
verticalOffset: Platform.isWindows || Platform.isLinux || Platform.isMacOS
? 36.0
: null,
Expand Down
42 changes: 0 additions & 42 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,6 @@ packages:
url: "https://github.com/alexmercerind/fijkplayer.git"
source: git
version: "0.10.1"
fijkplayer_skin:
dependency: "direct main"
description:
name: fijkplayer_skin
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.8"
file:
dependency: transitive
description:
Expand Down Expand Up @@ -618,41 +611,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.5.0"
wakelock:
dependency: transitive
description:
name: wakelock
url: "https://pub.dartlang.org"
source: hosted
version: "0.5.6"
wakelock_macos:
dependency: transitive
description:
name: wakelock_macos
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.0"
wakelock_platform_interface:
dependency: transitive
description:
name: wakelock_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.0"
wakelock_web:
dependency: transitive
description:
name: wakelock_web
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.0"
wakelock_windows:
dependency: transitive
description:
name: wakelock_windows
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.0"
watcher:
dependency: transitive
description:
Expand Down

0 comments on commit 7a8cdff

Please sign in to comment.