diff --git a/lib/screens/dashboard/dash.dart b/lib/screens/dashboard/dash.dart index d79bdcd8..44e1e9ed 100644 --- a/lib/screens/dashboard/dash.dart +++ b/lib/screens/dashboard/dash.dart @@ -39,6 +39,7 @@ class DashboardGrid extends HookConsumerWidget { @override Widget build(BuildContext context, WidgetRef ref) { final isWide = isWideScreen(context); + final devicePadding = MediaQuery.paddingOf(context); return Container( constraints: BoxConstraints( @@ -46,7 +47,9 @@ class DashboardGrid extends HookConsumerWidget { ? math.min(640, MediaQuery.sizeOf(context).height * 0.65) : MediaQuery.sizeOf(context).height, ), - padding: isWide ? null : EdgeInsets.only(top: 24), + padding: isWide + ? EdgeInsets.only(top: devicePadding.top) + : EdgeInsets.only(top: 24 + devicePadding.top), child: Column( spacing: 16, children: [ diff --git a/pubspec.lock b/pubspec.lock index 0011064f..c2872727 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1505,10 +1505,10 @@ packages: dependency: transitive description: name: js - sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 + sha256: "53385261521cc4a0c4658fd0ad07a7d14591cf8fc33abbceae306ddb974888dc" url: "https://pub.dev" source: hosted - version: "0.6.7" + version: "0.7.2" json_annotation: dependency: "direct main" description: @@ -2783,18 +2783,18 @@ packages: dependency: transitive description: name: syncfusion_flutter_core - sha256: e68a7e214659faf0df483c760d295ab58e376a639285d2a9f7d1e43351efcbb3 + sha256: e1fdfcc3ed7e1f040ba95838780b2eb1857e3e5eccb817fbe94ea2b09c35eac4 url: "https://pub.dev" source: hosted - version: "31.2.16" + version: "31.2.18" syncfusion_flutter_pdf: dependency: transitive description: name: syncfusion_flutter_pdf - sha256: "7a09952cc5193f78211a84eed3f0bd67876861997221b2479889013951fb5fba" + sha256: "4077abff3d3dcae757317c0a85cb607b98cc6ea8f3b47c7d8488d4144ef01a9f" url: "https://pub.dev" source: hosted - version: "31.2.16" + version: "31.2.18" syncfusion_flutter_pdfviewer: dependency: "direct main" description: @@ -2807,50 +2807,50 @@ packages: dependency: transitive description: name: syncfusion_flutter_signaturepad - sha256: f65d43512fccb2733dcee292a36d561e1963c61f86482007d70c0d4a007718f1 + sha256: "56c35321879b900f59a91e0758af7ca66973447bfdaeb643fe1da0084cbc5b22" url: "https://pub.dev" source: hosted - version: "31.2.16" + version: "31.2.18" syncfusion_pdfviewer_linux: dependency: transitive description: name: syncfusion_pdfviewer_linux - sha256: "2a80a35c11fd3f06444ce4cad2e7b36ce1cea28030379186a8545851588d1784" + sha256: bae7feb109b38ecf9f8be99bd032503adf98e56da048307a17af8515d0f9d2ed url: "https://pub.dev" source: hosted - version: "31.2.16" + version: "31.2.18" syncfusion_pdfviewer_macos: dependency: transitive description: name: syncfusion_pdfviewer_macos - sha256: "9bf2c720d59539cf2e621b9b5214301c3ae9d4c62c1a5a2e0e9c2b20f9e4727d" + sha256: "5c02ead2a430cd3f203639ede38ce2e06fb6c8aab6791b0d15c01436f882f482" url: "https://pub.dev" source: hosted - version: "31.2.16" + version: "31.2.18" syncfusion_pdfviewer_platform_interface: dependency: transitive description: name: syncfusion_pdfviewer_platform_interface - sha256: b5eded6e60270422db529549142cc16e927dbb7317afe3559140bf4ec4301ac3 + sha256: "65641e064385ac65253930ec96a6edc2eea781c9e15bf3d5fa15e459037817e7" url: "https://pub.dev" source: hosted - version: "31.2.16" + version: "31.2.18" syncfusion_pdfviewer_web: dependency: transitive description: name: syncfusion_pdfviewer_web - sha256: "251e4d43a54958c17ba33bf27a0ca143224663755cac68fe2fe8fb0cce5bd846" + sha256: c55201d9eda49f543b9ad21f539b0f5fbe45ca1a3b30081ee471eb4dff7132f4 url: "https://pub.dev" source: hosted - version: "31.2.16" + version: "31.2.18" syncfusion_pdfviewer_windows: dependency: transitive description: name: syncfusion_pdfviewer_windows - sha256: "33014789595c9782337773e2c891e25fc4b22ede60cc5c95be032765c5d43989" + sha256: "1b706e58a95c794687d037e055cf0580370ceee27a59a8cd4e14368534161af8" url: "https://pub.dev" source: hosted - version: "31.2.16" + version: "31.2.18" synchronized: dependency: transitive description: @@ -3168,10 +3168,10 @@ packages: dependency: transitive description: name: watcher - sha256: "592ab6e2892f67760543fb712ff0177f4ec76c031f02f5b4ff8d3fc5eb9fb61a" + sha256: f52385d4f73589977c80797e60fe51014f7f2b957b5e9a62c3f6ada439889249 url: "https://pub.dev" source: hosted - version: "1.1.4" + version: "1.2.0" waveform_flutter: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index 241db8a4..8b1b9db6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 3.5.0+151 +version: 3.5.0+152 environment: sdk: ^3.8.0