Skip to content

Commit

Permalink
馃悰 Fix compilation (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Sep 8, 2023
1 parent bebd883 commit 73beedf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion custom_plugin_example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: ">=2.7.0 <3.0.0"
sdk: ">=2.12.0 <3.0.0"

dependencies:
flutter:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'dart:async';
import 'dart:math';
import 'package:flutter/material.dart';
import 'package:flutter/material.dart' hide SearchBar;
import 'package:flutter_ume_kit_ui/components/hit_test.dart';
import 'package:flutter_ume/flutter_ume.dart';
import 'package:flutter_ume_kit_ui/util/binding_ambiguate.dart';
Expand Down Expand Up @@ -109,6 +109,7 @@ class _DetailModel {
Random().nextInt(256)
];
Element element;

_DetailModel(this.element);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,3 @@ linter:
use_function_type_syntax_for_parameters: true
use_rethrow_when_possible: true
valid_regexps: true
unused_element : true
3 changes: 3 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ dependencies:
tuple: ^2.0.0

dev_dependencies:
flutter_lints: any
flutter_test:
sdk: flutter
melos: ^3.1.0
mockito: ^5.3.2
flutter_coverage_badge:
git:
Expand All @@ -28,3 +30,4 @@ dev_dependencies:
lints: ^2.0.0

flutter:
uses-material-design: true

0 comments on commit 73beedf

Please sign in to comment.