Skip to content

Commit fccec01

Browse files
committed
Geolocator publishing fixed
1 parent 35616da commit fccec01

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,15 +120,15 @@ for:
120120
cd packages/flet
121121
echo "Running flet tests"
122122
flutter test || exit 1
123-
dart pub publish --force || exit 1
123+
dart pub publish --force
124124
cd $APPVEYOR_BUILD_FOLDER
125125
126126
sleep 120
127127
128128
for dir in packages/flet_*; do
129129
cd "$dir"
130130
echo "Publishing $dir package"
131-
dart pub publish --force || exit 1
131+
dart pub publish --force
132132
cd "$APPVEYOR_BUILD_FOLDER"
133133
done
134134

packages/flet_geolocator/lib/src/geolocator.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class _GeolocatorControlState extends State<GeolocatorControl>
3535
widget.control.onRemove.add(_onRemove);
3636
}
3737

38+
@override
3839
void didChangeDependencies() {
3940
super.didChangeDependencies();
4041
if (widget.control.attrBool("onPositionChange", false)!) {
@@ -45,7 +46,7 @@ class _GeolocatorControlState extends State<GeolocatorControl>
4546
(Position? newPosition) {
4647
if (newPosition != null) {
4748
_onPositionChange(newPosition);
48-
debugPrint('Geolocator - ${newPosition}');
49+
debugPrint('Geolocator - $newPosition');
4950
} else {
5051
debugPrint('Geolocator: Position is null.');
5152
}

packages/flet_geolocator/pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ dependencies:
1313
sdk: flutter
1414

1515
geolocator: ^13.0.1
16+
collection: ^1.16.0
1617

1718
flet:
1819
path: ../flet/

0 commit comments

Comments
 (0)