gixjoy / openmonday Goto Github PK
View Code? Open in Web Editor NEWA no-cloud smart home system
License: GNU Affero General Public License v3.0
A no-cloud smart home system
License: GNU Affero General Public License v3.0
Hi,
I would love to get my hands on this project :)
Do you have updated version with null safety which should address most of the issues below?
The plugins flutter_local_notifications, flutter_plugin_android_lifecycle, shared_preferences
use a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if these plugins support the Android V2 embedding. Otherwise, consider removing them since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.
Launching lib\main.dart on Android SDK built for x86 in debug mode...
lib\main.dart:1
: Error: This requires the 'extension-methods' language feature to be enabled.
../…/extensions/canvas_extension.dart:6
Try updating your pubspec.yaml to set the minimum SDK constraint to 2.6 or higher, and running 'pub get'.
extension DashedLine on Canvas {
^^^^^^^^^
: Error: A function declaration needs an explicit list of parameters.
../…/extensions/canvas_extension.dart:6
Try adding a parameter list to the function declaration.
extension DashedLine on Canvas {
^^^^^^
: Error: This requires the 'extension-methods' language feature to be enabled.
../…/extensions/path_extension.dart:6
Try updating your pubspec.yaml to set the minimum SDK constraint to 2.6 or higher, and running 'pub get'.
extension DashedPath on Path {
^^^^^^^^^
: Error: A function declaration needs an explicit list of parameters.
../…/extensions/path_extension.dart:6
Try adding a parameter list to the function declaration.
extension DashedPath on Path {
^^^^
: Error: Type 'DiagnosticableMixin' not found.
../…/src/datetime_picker_theme.dart:4
class DatePickerTheme with DiagnosticableMixin {
^^^^^^^^^^^^^^^^^^^
: Error: 'Canvas' isn't a type.
../…/axis_chart/axis_chart_painter.dart:33
void paint(Canvas canvas, Size size) {
^^^^^^
: Context: This isn't a type.
../…/extensions/canvas_extension.dart:6
extension DashedLine on Canvas {
^^^^^^
: Error: 'Canvas' isn't a type.
../…/axis_chart/axis_chart_painter.dart:45
void drawAxisTitles(Canvas canvas, Size viewSize) {
^^^^^^
: Context: This isn't a type.
../…/extensions/canvas_extension.dart:6
extension DashedLine on Canvas {
^^^^^^
: Error: 'Canvas' isn't a type.
../…/axis_chart/axis_chart_painter.dart:197
void _drawGrid(Canvas canvas, Size viewSize) {
^^^^^^
: Context: This isn't a type.
../…/extensions/canvas_extension.dart:6
extension DashedLine on Canvas {
^^^^^^
: Error: 'Canvas' isn't a type.
../…/axis_chart/axis_chart_painter.dart:245
void _drawBackground(Canvas canvas, Size viewSize) {
^^^^^^
: Context: This isn't a type.
../…/extensions/canvas_extension.dart:6
extension DashedLine on Canvas {
^^^^^^
: Error: 'Canvas' isn't a type.
../…/axis_chart/axis_chart_painter.dart:263
void _drawRangeAnnotation(Canvas canvas, Size viewSize) {
^^^^^^
: Context: This isn't a type.
../…/extensions/canvas_extension.dart:6
extension DashedLine on Canvas {
^^^^^^
: Error: 'Canvas' isn't a type.
../…/line_chart/line_chart_painter.dart:76
void paint(Canvas canvas, Size size) {
^^^^^^
: Context: This isn't a type.
../…/extensions/canvas_extension.dart:6
extension DashedLine on Canvas {
^^^^^^
: Error: 'Canvas' isn't a type.
../…/line_chart/line_chart_painter.dart:169
void _drawBarLine(Canvas canvas, Size viewSize, LineChartBarData barData) {
^^^^^^
: Context: This isn't a type.
../…/extensions/canvas_extension.dart:6
extension DashedLine on Canvas {
^^^^^^
: Error: 'Canvas' isn't a type.
../…/line_chart/line_chart_painter.dart:206
Canvas canvas, Size viewSize, LineChartData data, BetweenBarsData betweenBarsData) {
^^^^^^
: Context: This isn't a type.
../…/extensions/canvas_extension.dart:6
extension DashedLine on Canvas {
^^^^^^
: Error: 'Canvas' isn't a type.
../…/line_chart/line_chart_painter.dart:227
void _drawDots(Canvas canvas, Size viewSize, LineChartBarData barData) {
^^^^^^
: Context: This isn't a type.
../…/extensions/canvas_extension.dart:6
extension DashedLine on Canvas {
^^^^^^
: Error: 'Canvas' isn't a type.
../…/line_chart/line_chart_painter.dart:243
void _drawTouchedSpotsIndicator(Canvas canvas, Size viewSize, LineChartBarData barData) {
^^^^^^
: Context: This isn't a type.
../…/extensions/canvas_extension.dart:6
extension DashedLine on Canvas {
^^^^^^
: Error: 'Path' isn't a type.
../…/line_chart/line_chart_painter.dart:298
Path _generateBarPath(Size viewSize, LineChartBarData barData, List barSpots,
^^^^
: Context: This isn't a type.
../…/extensions/path_extension.dart:6
extension DashedPath on Path {
^^^^
: Error: 'Path' isn't a type.
../…/line_chart/line_chart_painter.dart:299
{Path appendToPath}) {
^^^^
: Context: This isn't a type.
../…/extensions/path_extension.dart:6
extension DashedPath on Path {
^^^^
: Error: 'Path' isn't a type.
../…/line_chart/line_chart_painter.dart:371
Path _generateBelowBarPath(
^^^^
: Context: This isn't a type.
../…/extensions/path_extension.dart:6
extension DashedPath on Path {
^^^^
: Error: 'Path' isn't a type.
../…/line_chart/line_chart_painter.dart:372
Size viewSize, LineChartBarData barData, Path barPath, List barSpots,
^^^^
: Context: This isn't a type.
../…/extensions/path_extension.dart:6
extension DashedPath on Path {
^^^^
: Error: 'Path' isn't a type.
../…/line_chart/line_chart_painter.dart:410
Path _generateAboveBarPath(
^^^^
: Context: This isn't a type.
../…/extensions/path_extension.dart:6
extension DashedPath on Path {
^^^^
: Error: 'Path' isn't a type.
../…/line_chart/line_chart_painter.dart:411
Size viewSize, LineChartBarData barData, Path barPath, List<FlSpot> barSpots,
^^^^
: Context: This isn't a type.
../…/extensions/path_extension.dart:6
extension DashedPath on Path {
^^^^
: Error: 'Canvas' isn't a type.
../…/line_chart/line_chart_painter.dart:448
void _drawBelowBar(Canvas canvas, Size viewSize, Path belowBarPath, Path filledAboveBarPath,
^^^^^^
: Context: This isn't a type.
../…/extensions/canvas_extension.dart:6
extension DashedLine on Canvas {
^^^^^^
: Error: 'Path' isn't a type.
../…/line_chart/line_chart_painter.dart:448
void _drawBelowBar(Canvas canvas, Size viewSize, Path belowBarPath, Path filledAboveBarPath,
^^^^
: Context: This isn't a type.
../…/extensions/path_extension.dart:6
extension DashedPath on Path {
^^^^
: Error: 'Path' isn't a type.
../…/line_chart/line_chart_painter.dart:448
void _drawBelowBar(Canvas canvas, Size viewSize, Path belowBarPath, Path filledAboveBarPath,
^^^^
: Context: This isn't a type.
../…/extensions/path_extension.dart:6
extension DashedPath on Path {
^^^^
: Error: 'Canvas' isn't a type.
../…/line_chart/line_chart_painter.dart:530
void _drawAboveBar(Canvas canvas, Size viewSize, Path aboveBarPath, Path filledBelowBarPath,
^^^^^^
: Context: This isn't a type.
../…/extensions/canvas_extension.dart:6
extension DashedLine on Canvas {
^^^^^^
: Error: 'Path' isn't a type.
../…/line_chart/line_chart_painter.dart:530
void _drawAboveBar(Canvas canvas, Size viewSize, Path aboveBarPath, Path filledBelowBarPath,
^^^^
: Context: This isn't a type.
../…/extensions/path_extension.dart:6
extension DashedPath on Path {
^^^^
: Error: 'Path' isn't a type.
../…/line_chart/line_chart_painter.dart:530
void _drawAboveBar(Canvas canvas, Size viewSize, Path aboveBarPath, Path filledBelowBarPath,
^^^^
: Context: This isn't a type.
../…/extensions/path_extension.dart:6
extension DashedPath on Path {
^^^^
: Error: 'Canvas' isn't a type.
../…/line_chart/line_chart_painter.dart:603
Canvas canvas, Size viewSize, Path aboveBarPath, BetweenBarsData betweenBarsData) {
^^^^^^
: Context: This isn't a type.
../…/extensions/canvas_extension.dart:6
extension DashedLine on Canvas {
^^^^^^
: Error: 'Path' isn't a type.
../…/line_chart/line_chart_painter.dart:603
Canvas canvas, Size viewSize, Path aboveBarPath, BetweenBarsData betweenBarsData) {
^^^^
: Context: This isn't a type.
../…/extensions/path_extension.dart:6
extension DashedPath on Path {
^^^^
: Error: 'Canvas' isn't a type.void _drawBar(Canvas canvas, Size viewSize, Path barPath, LineChartBarData barData) {
^^^^^^
: Context: This isn't a type.
../…/extensions/canvas_extension.dart:6
extension DashedLine on Canvas {
^^^^^^
: Error: 'Path' isn't a type.
../…/line_chart/line_chart_painter.dart:648
void _drawBar(Canvas canvas, Size viewSize, Path barPath, LineChartBarData barData) {
^^^^
: Context: This isn't a type.
../…/extensions/path_extension.dart:6
extension DashedPath on Path {
^^^^
: Error: 'Canvas' isn't a type.
../…/line_chart/line_chart_painter.dart:697
void _drawTitles(Canvas canvas, Size viewSize) {
^^^^^^
: Context: This isn't a type.
../…/extensions/canvas_extension.dart:6
extension DashedLine on Canvas {
^^^^^^
: Error: 'Canvas' isn't a type.
../…/line_chart/line_chart_painter.dart:829
void _drawExtraLines(Canvas canvas, Size viewSize) {
^^^^^^
: Context: This isn't a type.
../…/extensions/canvas_extension.dart:6
extension DashedLine on Canvas {
^^^^^^
: Error: 'Canvas' isn't a type.
../…/line_chart/line_chart_painter.dart:966
void _drawTouchTooltip(Canvas canvas, Size viewSize, LineTouchTooltipData tooltipData,
^^^^^^
: Context: This isn't a type.
../…/extensions/canvas_extension.dart:6
extension DashedLine on Canvas {
^^^^^^
: Error: Type 'extension' not found.
../…/extensions/canvas_extension.dart:6
extension DashedLine on Canvas {
^^^^^^^^^
: Error: Type 'on' not found.
../…/extensions/canvas_extension.dart:6
extension DashedLine on Canvas {
^^
: Error: Type 'extension' not found.
../…/extensions/path_extension.dart:6
extension DashedPath on Path {
^^^^^^^^^
: Error: Type 'on' not found.
../…/extensions/path_extension.dart:6
extension DashedPath on Path {
^^
: Error: The type 'DiagnosticableMixin' can't be mixed in.
../…/src/datetime_picker_theme.dart:4
class DatePickerTheme with DiagnosticableMixin {
^
: Error: The method 'setMockMethodCallHandler' isn't defined for the class 'MethodChannel'.
../…/lib/shared_preferences.dart:146
: Error: 'Path' isn't a type.
../…/line_chart/line_chart_painter.dart:301
final Path path = appendToPath ?? Path();
^^^^
: Error: The method 'from' isn't defined for the class 'invalid-type Function()'.
../…/line_chart/line_chart_painter.dart:374
Try correcting the name to the name of an existing method, or defining a method named 'from'.
final belowBarPath = Path.from(barPath);
^^^^
: Error: The method 'from' isn't defined for the class 'invalid-type Function()'.
../…/line_chart/line_chart_painter.dart:413
Try correcting the name to the name of an existing method, or defining a method named 'from'.
final aboveBarPath = Path.from(barPath);
^^^^
: Error: 'extension' isn't a type.
../…/extensions/canvas_extension.dart:6
extension DashedLine on Canvas {
^^^^^^^^^
: Error: 'Path' isn't a type.
../…/extensions/canvas_extension.dart:10
Path path = Path();
^^^^
: Error: Expected identifier, but got 'this'.
../…/extensions/canvas_extension.dart:14
this.drawPath(path, painter);
^^^^
: Error: 'extension' isn't a type.
../…/extensions/path_extension.dart:6
extension DashedPath on Path {
^^^^^^^^^
: Error: 'Path' isn't a type.
../…/extensions/path_extension.dart:13
Path toDashedPath(List dashArray) {
^^^^
: Error: Expected identifier, but got 'this'.
../…/extensions/path_extension.dart:14
if (this != null && dashArray != null) {
^^^^
: Error: Expected identifier, but got 'this'.
../…/extensions/path_extension.dart:16
final dashedPath = dashPath(this, dashArray: CircularIntervalList(castedArray));
^^^^
: Error: Expected identifier, but got 'this'.
../…/extensions/path_extension.dart:20
return this;
^^^^
3
FAILURE: Build failed with an exception.
Where:
Script 'C:\Users\zecvo\AppData\Local\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1102
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command 'C:\Users\zecvo\AppData\Local\flutter\bin\flutter.bat'' finished with non-zero exit value 1
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 12s
Exception: Gradle task assembleDebug failed with exit code 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.