cmdrootaccess / another-flushbar

A flexible widget for user notification. Customize your text, button, duration, animations and much more. For Android devs, it is made to replace Snackbars and Toasts.
https://pub.dev/packages/another_flushbar
MIT License
145 stars 88 forks source link

geomtery error on web builds #105

Closed fisforfaheem closed 1 year ago

fisforfaheem commented 1 year ago
image
cmdrootaccess commented 1 year ago

this is only happening web builds ?

fisforfaheem commented 1 year ago

yes, i am tired of finding issues for last 6 hours, no help found on web

fisforfaheem commented 1 year ago

here is complete issue: [17:54:00.317] Running build in San Francisco, USA (West) – sfo1 [17:54:00.382] Cloning github.com/fisforfaheem/dashboard (Branch: main3, Commit: 15edb17) [17:54:04.281] Cloning completed: 3.898s [17:54:04.411] Restored build cache [17:54:04.441] Running "vercel build" [17:54:04.888] Vercel CLI 29.1.1 [17:54:05.477] Running "install" command: if cd flutter; then git pull && cd .. ; else git clone https://github.com/flutter/flutter.git; fi && ls && flutter/bin/flutter doctor && flutter/bin/flutter clean && flutter/bin/flutter config --enable-web... [17:54:05.485] sh: line 0: cd: flutter: No such file or directory [17:54:05.487] Cloning into 'flutter'... [17:56:12.826] analysis_options.yaml [17:56:12.826] android [17:56:12.826] assets [17:56:12.826] changelog.md [17:56:12.827] dashboard.iml [17:56:12.827] flutter [17:56:12.827] flutter_native_splash.yaml [17:56:12.827] image [17:56:12.827] ios [17:56:12.827] lib [17:56:12.827] LICENSE [17:56:12.827] pubspec.lock [17:56:12.827] pubspec.yaml [17:56:12.827] README.md [17:56:12.827] README.pdf [17:56:12.827] vercel.json [17:56:12.827] web [17:56:12.837] Woah! You appear to be trying to run flutter as root. [17:56:12.837] We strongly recommend running the flutter tool without superuser privileges. [17:56:12.837] / [17:56:12.837] πŸ“Ž [17:56:12.853] Downloading Linux x64 Dart SDK from Flutter engine 8d3a8162b3ab7a3a955af1d9d674b1c5fa78471a... [17:56:12.860] % Total % Received % Xferd Average Speed Time Time Time Current [17:56:12.860] Dload Upload Total Spent Left Speed [17:56:15.112] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 28 204M 28 58.4M 0 0 83.3M 0 0:00:02 --:--:-- 0:00:02 83.3M 69 204M 69 141M 0 0 83.2M 0 0:00:02 0:00:01 0:00:01 83.2M 100 204M 100 204M 0 0 91.0M 0 0:00:02 0:00:02 --:--:-- 91.0M [17:56:20.249] Building flutter tool... [17:56:20.393] Resolving dependencies... [17:56:25.029] Got dependencies. [17:56:39.129] Downloading Material fonts... 366ms [17:56:39.251] Downloading Gradle Wrapper... 62ms [17:56:39.332] Downloading package sky_engine... 68ms [17:56:39.561] Downloading flutter_patched_sdk tools... 173ms [17:56:39.814] Downloading flutter_patched_sdk_product tools... 155ms [17:56:41.093] Downloading linux-x64 tools... 1,180ms [17:56:41.997] Downloading linux-x64/font-subset tools... 57ms [17:56:43.627] Doctor summary (to see all details, run flutter doctor -v): [17:56:43.697] [!] Flutter (Channel master, 3.11.0-2.0.pre.73, on Amazon Linux 2 5.10.177-158.645.amzn2.x86_64, locale en_US.UTF-8) [17:56:43.698] ! The flutter binary is not on your path. Consider adding /vercel/path0/flutter/bin to your path. [17:56:43.698] ! The dart binary is not on your path. Consider adding /vercel/path0/flutter/bin to your path. [17:56:43.700] [βœ—] Android toolchain - develop for Android devices [17:56:43.700] βœ— Unable to locate Android SDK. [17:56:43.700] Install Android Studio from: https://developer.android.com/studio/index.html [17:56:43.700] On first launch it will assist you in installing the Android SDK components. [17:56:43.700] (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions). [17:56:43.700] If the Android SDK has been installed to a custom location, please use [17:56:43.701] flutter config --android-sdk to update to that location. [17:56:43.701] [17:56:43.702] [βœ—] Chrome - develop for the web (Cannot find Chrome executable at google-chrome) [17:56:43.702] ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable. [17:56:43.733] [βœ—] Linux toolchain - develop for Linux desktop [17:56:43.734] βœ— clang++ is required for Linux development. [17:56:43.734] It is likely available from your distribution (e.g.: apt install clang), or can be downloaded from https://releases.llvm.org/ [17:56:43.734] βœ— CMake is required for Linux development. [17:56:43.734] It is likely available from your distribution (e.g.: apt install cmake), or can be downloaded from https://cmake.org/download/ [17:56:43.734] βœ— ninja is required for Linux development. [17:56:43.735] It is likely available from your distribution (e.g.: apt install ninja-build), or can be downloaded from https://github.com/ninja-build/ninja/releases [17:56:43.736] βœ— pkg-config 0.29.0 or later is required. [17:56:43.737] βœ— GTK 3.0 development libraries are required for Linux development. [17:56:43.737] They are likely available from your distribution (e.g.: apt install libgtk-3-dev) [17:56:43.737] [!] Android Studio (not installed) [17:56:43.737] [βœ“] Connected device (1 available) [17:56:44.033] [βœ“] Network resources [17:56:44.033] [17:56:44.033] ! Doctor found issues in 5 categories. [17:56:44.060] Woah! You appear to be trying to run flutter as root. [17:56:44.060] We strongly recommend running the flutter tool without superuser privileges. [17:56:44.061] / [17:56:44.061] πŸ“Ž [17:56:44.314] Deleting .dart_tool... 0ms [17:56:44.317] Deleting .flutter-plugins-dependencies... 0ms [17:56:44.318] Deleting .flutter-plugins... 0ms [17:56:44.347] Woah! You appear to be trying to run flutter as root. [17:56:44.347] We strongly recommend running the flutter tool without superuser privileges. [17:56:44.347] / [17:56:44.347] πŸ“Ž [17:56:44.535] Setting "enable-web" value to "true". [17:56:44.535] [17:56:44.536] You may need to restart any open editors for them to read new settings. [17:56:45.045] Already up to date. [17:56:45.055] Woah! You appear to be trying to run flutter as root. [17:56:45.055] We strongly recommend running the flutter tool without superuser privileges. [17:56:45.055] / [17:56:45.055] πŸ“Ž [17:56:45.243] Setting "enable-web" value to "true". [17:56:45.244] [17:56:45.244] You may need to restart any open editors for them to read new settings. [17:56:45.276] Woah! You appear to be trying to run flutter as root. [17:56:45.276] We strongly recommend running the flutter tool without superuser privileges. [17:56:45.277] / [17:56:45.277] πŸ“Ž [17:56:47.538] Downloading Web SDK... 2,057ms [17:56:49.393] Resolving dependencies... [17:57:03.631] ! archive 3.3.7 (overridden) [17:57:03.631] args 2.4.0 (2.4.1 available) [17:57:03.631] > async 2.11.0 (was 2.10.0) [17:57:03.631] > characters 1.3.0 (was 1.2.1) [17:57:03.631] charts_common 0.12.0 (discontinued) [17:57:03.631] cloud_firestore 4.5.3 (4.6.0 available) [17:57:03.631] cloud_firestore_platform_interface 5.12.1 (5.13.0 available) [17:57:03.632] cloud_firestore_web 3.4.2 (3.4.3 available) [17:57:03.632] crypto 3.0.2 (3.0.3 available) [17:57:03.632] dio 5.1.1 (5.1.2 available) [17:57:03.632] ! equatable 2.0.5 (overridden) [17:57:03.632] file_picker 5.2.11 (5.3.0 available) [17:57:03.632] flutter_plugin_android_lifecycle 2.0.13 (2.0.14 available) [17:57:03.632] html 0.15.2 (0.15.3 available) [17:57:03.632] http 0.13.5 (0.13.6 available) [17:57:03.632] image 4.0.16 (4.0.17 available) [17:57:03.632] image_network 2.5.1 (2.5.2 available) [17:57:03.632] image_picker_android 0.8.6+9 (0.8.6+11 available) [17:57:03.632] intl 0.17.0 (0.18.1 available) [17:57:03.632] json_annotation 4.8.0 (4.8.1 available) [17:57:03.632] lints 2.0.1 (2.1.0 available) [17:57:03.633] > matcher 0.12.15 (was 0.12.14) (0.12.16 available) [17:57:03.633] > material_color_utilities 0.5.0 (was 0.2.0) [17:57:03.633] > meta 1.9.1 (was 1.9.0) [17:57:03.633] path_provider 2.0.14 (2.0.15 available) [17:57:03.633] path_provider_foundation 2.2.2 (2.2.3 available) [17:57:03.633] petitparser 5.1.0 (5.4.0 available) [17:57:03.633] shared_preferences 2.1.0 (2.1.1 available) [17:57:03.634] shared_preferences_foundation 2.2.1 (2.2.2 available) [17:57:03.634] > source_span 1.10.0 (was 1.9.1) [17:57:03.634] > test_api 0.5.2 (was 0.4.18) [17:57:03.634] webview_flutter 3.0.4 (4.2.0 available) [17:57:03.634] webview_flutter_android 2.10.4 (3.7.0 available) [17:57:03.635] webview_flutter_platform_interface 1.9.5 (2.3.0 available) [17:57:03.635] webview_flutter_wkwebview 2.9.5 (3.4.2 available) [17:57:03.635] win32 4.1.3 (4.1.4 available) [17:57:03.635] ! xml 6.2.2 (overridden) (6.3.0 available) [17:57:03.635] yaml 3.1.1 (3.1.2 available) [17:57:03.636] Changed 7 dependencies! [17:57:04.158] [17:57:22.339] Compiling lib/main.dart for the Web...
[17:57:22.341] Target dart2js failed: ProcessException: Process exited abnormally: [17:57:22.341] ../.pub-cache/hosted/pub.dev/get-4.6.5/lib/get_navigation/src/nav2/get_information_parser.dart:29:50: [17:57:22.341] Warning: Operand of null-aware operation '??' has type 'String' which excludes null. [17:57:22.341] final matchResult = Get.routeTree.matchRoute(location ?? initialRoute); [17:57:22.341] ^ [17:57:22.341] ../.pub-cache/hosted/pub.dev/get-4.6.5/lib/get_navigation/src/nav2/get_router_delegate.dart:374:36: [17:57:22.341] Warning: Operand of null-aware operation '!' has type 'String' which excludes null. [17:57:22.341] await backUntil(config.location!, popMode: PopMode.Page); [17:57:22.341] ^ [17:57:22.341] ../.pub-cache/hosted/pub.dev/another_flushbar-1.12.29/lib/flushbar.dart:439:38: [17:57:22.341] Error: The argument type 'BorderRadius?' can't be assigned to the parameter type 'BorderRadiusGeometry' because 'BorderRadius?' is nullable and 'BorderRadiusGeometry' isn't. [17:57:22.341] - 'BorderRadius' is from 'package:flutter/src/painting/border_radius.dart' ('flutter/packages/flutter/lib/src/painting/border_radius.dart'). [17:57:22.341] - 'BorderRadiusGeometry' is from 'package:flutter/src/painting/border_radius.dart' ('flutter/packages/flutter/lib/src/painting/border_radius.dart'). [17:57:22.342] borderRadius: widget.borderRadius, [17:57:22.342] ^ [17:57:22.342] ../.pub-cache/hosted/pub.dev/flutter_speed_dial-6.2.0/lib/src/speed_dial.dart:360:41: [17:57:22.342] Warning: Operand of null-aware operation '!' has type 'OverlayState' which excludes null. [17:57:22.342] - 'OverlayState' is from 'package:flutter/src/widgets/overlay.dart' ('flutter/packages/flutter/lib/src/widgets/overlay.dart'). [17:57:22.342] if (widget.renderOverlay) Overlay.of(context)!.insert(backgroundOverlay!); [17:57:22.343] ^ [17:57:22.343] ../.pub-cache/hosted/pub.dev/flutter_speed_dial-6.2.0/lib/src/speed_dial.dart:361:15: [17:57:22.343] Warning: Operand of null-aware operation '!' has type 'OverlayState' which excludes null. [17:57:22.343] - 'OverlayState' is from 'package:flutter/src/widgets/overlay.dart' ('flutter/packages/flutter/lib/src/widgets/overlay.dart'). [17:57:22.343] Overlay.of(context)!.insert(overlayEntry!); [17:57:22.343] ^ [17:57:22.343] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:734:26: [17:57:22.343] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.344] - 'List' is from 'dart:core'. [17:57:22.344] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.344] headingRow.children![displayColumnIndex] = [17:57:22.344] ^ [17:57:22.344] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:739:40: [17:57:22.344] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.344] - 'List' is from 'dart:core'. [17:57:22.344] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.344] fixedColumnsRows![0].children![displayColumnIndex] = h; [17:57:22.344] ^ [17:57:22.344] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:741:39: [17:57:22.344] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.344] - 'List' is from 'dart:core'. [17:57:22.344] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.344] fixedCornerRows![0].children![displayColumnIndex] = h; [17:57:22.344] ^ [17:57:22.344] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:746:24: [17:57:22.344] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.344] - 'List' is from 'dart:core'. [17:57:22.344] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.344] .children![displayColumnIndex - actualFixedColumns] = h; [17:57:22.345] ^ [17:57:22.345] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:749:24: [17:57:22.345] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.345] - 'List' is from 'dart:core'. [17:57:22.345] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.345] .children![displayColumnIndex - actualFixedColumns] = h; [17:57:22.345] ^ [17:57:22.345] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:794:26: [17:57:22.345] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.345] - 'List' is from 'dart:core'. [17:57:22.345] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.345] .children![displayColumnIndex] = c; [17:57:22.345] ^ [17:57:22.345] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:797:26: [17:57:22.345] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.345] - 'List' is from 'dart:core'. [17:57:22.345] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.346] .children![displayColumnIndex] = c; [17:57:22.346] ^ [17:57:22.346] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:802:26: [17:57:22.346] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.346] - 'List' is from 'dart:core'. [17:57:22.346] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.346] .children![displayColumnIndex - actualFixedColumns] = c; [17:57:22.346] ^ [17:57:22.346] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:805:26: [17:57:22.346] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.346] - 'List' is from 'dart:core'. [17:57:22.346] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.346] .children![displayColumnIndex - actualFixedColumns] = c; [17:57:22.346] ^ [17:57:22.346] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:824:62: [17:57:22.346] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.346] - 'List' is from 'dart:core'. [17:57:22.347] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.347] return rows == null || rows.isEmpty || rows[0].children!.isEmpty; [17:57:22.347] ^ [17:57:22.347] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:1043:18: [17:57:22.347] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.347] - 'List' is from 'dart:core'. [17:57:22.347] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.347] headingRow.children![0] = _buildCheckbox( [17:57:22.347] ^ [17:57:22.347] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:1054:28: [17:57:22.347] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.347] - 'List' is from 'dart:core'. [17:57:22.347] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.347] fixedCornerRows[0].children![0] = headingRow.children![0]; [17:57:22.347] ^ [17:57:22.347] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:1054:54: [17:57:22.347] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.347] - 'List' is from 'dart:core'. [17:57:22.348] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.348] fixedCornerRows[0].children![0] = headingRow.children![0]; [17:57:22.348] ^ [17:57:22.348] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:1056:28: [17:57:22.348] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.348] - 'List' is from 'dart:core'. [17:57:22.348] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.348] fixedColumnRows[0].children![0] = headingRow.children![0]; [17:57:22.348] ^ [17:57:22.348] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:1056:54: [17:57:22.348] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.348] - 'List' is from 'dart:core'. [17:57:22.348] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.348] fixedColumnRows[0].children![0] = headingRow.children![0]; [17:57:22.348] ^ [17:57:22.348] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:1058:22: [17:57:22.348] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.348] - 'List' is from 'dart:core'. [17:57:22.348] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.349] fixedRows[0].children![0] = headingRow.children![0]; [17:57:22.349] ^ [17:57:22.349] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:1058:48: [17:57:22.349] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.349] - 'List' is from 'dart:core'. [17:57:22.349] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.349] fixedRows[0].children![0] = headingRow.children![0]; [17:57:22.349] ^ [17:57:22.349] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:1060:22: [17:57:22.349] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.349] - 'List' is from 'dart:core'. [17:57:22.349] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.349] coreRows![0].children![0] = headingRow.children![0]; [17:57:22.349] ^ [17:57:22.349] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:1060:48: [17:57:22.349] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.349] - 'List' is from 'dart:core'. [17:57:22.349] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.349] coreRows![0].children![0] = headingRow.children![0]; [17:57:22.350] ^ [17:57:22.350] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:1090:41: [17:57:22.350] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.350] - 'List' is from 'dart:core'. [17:57:22.350] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.350] fixedCornerRows[rowIndex + 1].children![0] = x; [17:57:22.350] ^ [17:57:22.350] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:1092:48: [17:57:22.350] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.350] - 'List' is from 'dart:core'. [17:57:22.350] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.350] fixedColumnRows[rowIndex - skipRows].children![0] = x; [17:57:22.350] ^ [17:57:22.350] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:1094:35: [17:57:22.350] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.350] - 'List' is from 'dart:core'. [17:57:22.350] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.350] fixedRows[rowIndex + 1].children![0] = x; [17:57:22.350] ^ [17:57:22.351] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:1096:42: [17:57:22.351] Warning: Operand of null-aware operation '!' has type 'List' which excludes null. [17:57:22.351] - 'List' is from 'dart:core'. [17:57:22.351] - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('flutter/packages/flutter/lib/src/widgets/framework.dart'). [17:57:22.351] coreRows![rowIndex - skipRows].children![0] = x; [17:57:22.351] ^ [17:57:22.351] Error: Compilation failed. [17:57:22.351] Command: /vercel/path0/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /vercel/path0/flutter/bin/cache/dart-sdk/bin/snapshots/dart2js.dart.snapshot --platform-binaries=/vercel/path0/flutter/bin/cache/flutter_web_sdk/kernel --invoker=flutter_tool -Ddart.vm.product=true -DFLUTTER_WEB_AUTO_DETECT=true -DFLUTTER_WEB_CANVASKIT_URL=https://www.gstatic.com/flutter-canvaskit/8d3a8162b3ab7a3a955af1d9d674b1c5fa78471a/ --native-null-assertions --no-source-maps -o /vercel/path0/.dart_tool/flutter_build/cc50a2b1d0cec1f6814a1e172e450480/app.dill --packages=.dart_tool/package_config.json --cfe-only /vercel/path0/.dart_tool/flutter_build/cc50a2b1d0cec1f6814a1e172e450480/main.dart [17:57:22.353] #0 RunResult.throwException (package:flutter_tools/src/base/process.dart:125:5) [17:57:22.353] #1 _DefaultProcessUtils.run (package:flutter_tools/src/base/process.dart:278:19) [17:57:22.353] [17:57:22.353] #2 Dart2JSTarget.build (package:flutter_tools/src/build_system/targets/web.dart:189:5) [17:57:22.353] [17:57:22.353] #3 _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:853:9) [17:57:22.353] [17:57:22.353] #4 Future.wait. (dart:async/future.dart:525:21) [17:57:22.354] [17:57:22.354] #5 _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:791:32) [17:57:22.354] [17:57:22.354] #6 Future.wait. (dart:async/future.dart:525:21) [17:57:22.354] [17:57:22.354] #7 _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:791:32) [17:57:22.354] [17:57:22.354] #8 FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:620:16) [17:57:22.355] [17:57:22.355] #9 WebBuilder.buildWeb (package:flutter_tools/src/web/compile.dart:89:34) [17:57:22.355] [17:57:22.355] #10 BuildWebCommand.runCommand (package:flutter_tools/src/commands/build_web.dart:198:5) [17:57:22.355] [17:57:22.355] #11 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1294:27) [17:57:22.355] [17:57:22.355] #12 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) [17:57:22.355] [17:57:22.356] #13 CommandRunner.runCommand (package:args/command_runner.dart:212:13) [17:57:22.356] [17:57:22.356] #14 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:306:9) [17:57:22.356] [17:57:22.356] #15 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) [17:57:22.356] [17:57:22.356] #16 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:254:5) [17:57:22.356] [17:57:22.356] #17 run.. (package:flutter_tools/runner.dart:115:9) [17:57:22.356] [17:57:22.356] #18 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) [17:57:22.356] [17:57:22.356] #19 main (package:flutter_tools/executable.dart:91:3) [17:57:22.356] [17:57:22.356] [17:57:22.356] Exception: Failed to compile application for the Web. [17:57:22.356] Compiling lib/main.dart for the Web... 18.1s [17:57:22.378] Error: Command "if cd flutter; then git pull && cd ..; else git clone https://github.com/flutter/flutter.git; fi && flutter/bin/flutter config --enable-web && flutter/bin/flutter build web --release --dart-define=FLUTTER_WEB_USE_SKIA=true" exited with 1 [17:57:22.751] Deployment completed [17:57:22.711] BUILD_UTILS_SPAWN_1: Command "if cd flutter; then git pull && cd ..; else git clone https://github.com/flutter/flutter.git; fi && flutter/bin/flutter config --enable-web && flutter/bin/flutter build web --release --dart-define=FLUTTER_WEB_USE_SKIA=true" exited with 1

cmdrootaccess commented 1 year ago

okay give me a few minutes let me run on web

fisforfaheem commented 1 year ago

ok

cmdrootaccess commented 1 year ago

https://github.com/cmdrootaccess/another-flushbar/assets/14039016/b52eb1f2-8d02-4459-95fd-7576e34fcea7

i just run in the web right now. and no issues https://github.com/cmdrootaccess/another-flushbar/assets/14039016/9a33c64f-55e8-457c-b19a-ee087390ab9b

cmdrootaccess commented 1 year ago

closing as flushbar is not the root cause of this error

fisforfaheem commented 1 year ago

Sie can u please at least give update to pub. DevπŸͺƒ, its been 8 months, please bump sdk etx

On Tue, May 9, 2023, 8:10 PM Root Access @.***> wrote:

closing as flushbar is not the root cause of this error

β€” Reply to this email directly, view it on GitHub https://github.com/cmdrootaccess/another-flushbar/issues/105#issuecomment-1540343206, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIRXJSDNOK6KX3QBPCESMWLXFJM7PANCNFSM6AAAAAAX3ICN2Q . You are receiving this because you authored the thread.Message ID: @.***>

cmdrootaccess commented 1 year ago

are you using dart 3 ?

fisforfaheem commented 1 year ago

Flutter 3.7 but planning to shift to flutter beta soon

On Tue, May 9, 2023, 8:26 PM Root Access @.***> wrote:

are you using dart 3 ?

β€” Reply to this email directly, view it on GitHub https://github.com/cmdrootaccess/another-flushbar/issues/105#issuecomment-1540387759, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIRXJSBMYKX4PLQR4ZCSEMLXFJO4FANCNFSM6AAAAAAX3ICN2Q . You are receiving this because you authored the thread.Message ID: @.***>

cmdrootaccess commented 1 year ago

am also using the same version. i guess the issue is with some of your dependencies .

Screen Shot 2023-05-09 at 6 33 25 PM
fisforfaheem commented 1 year ago

Yeah i will try to see what could be the issues, can you maybe please also try to upload your project any flutter project on Web using netli fly? In this way, maybe it will be the problem of flatter sdk

On Tue, May 9, 2023, 8:34 PM Root Access @.***> wrote:

am also using the same version. i guess the issue is with some of your dependencies . [image: Screen Shot 2023-05-09 at 6 33 25 PM] https://user-images.githubusercontent.com/14039016/237145947-f8f53ef0-5c6d-4390-a6ef-6445d2d6924d.png

β€” Reply to this email directly, view it on GitHub https://github.com/cmdrootaccess/another-flushbar/issues/105#issuecomment-1540407840, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIRXJSAZT6KEHBVLSIR563LXFJPYRANCNFSM6AAAAAAX3ICN2Q . You are receiving this because you authored the thread.Message ID: @.***>

cmdrootaccess commented 1 year ago

sure i will do that

cmdrootaccess commented 1 year ago

solved in https://github.com/cmdrootaccess/another-flushbar/issues/106