Skip to content

Commit 70c5607

Browse files
authored
chore: update readme, remove [] prefix from issue templates, feat: expose Color::toHexString() (#388)
fix #368
1 parent d271147 commit 70c5607

File tree

9 files changed

+19
-10
lines changed

9 files changed

+19
-10
lines changed

.github/ISSUE_TEMPLATE/1-bug.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
name: Bug Report
22
description: Report a bug
3-
title: "[BUG] <title>"
3+
title: ""
44
labels: [ "bug" ]
55
body:
66
- type: dropdown
77
id: platform
88
attributes:
99
label: Platforms
1010
description: On what platforms does the bug happen?
11-
options: [ "All", "Android", "iOS", "Web", "MacOS", "Windows", "Linux" ]
11+
placeholder: "Please Select"
12+
options: [ "Android", "iOS", "Web", "MacOS", "Windows", "Linux", "All" ]
1213
validations:
1314
required: true
1415
- type: input

.github/ISSUE_TEMPLATE/2-feature.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Feature Request
22
description: Suggest a Feature
3-
title: "[FEATURE] <title>"
3+
title: ""
44
labels: [ "feature" ]
55
body:
66
- type: textarea

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
# 0.3.0
1+
## 0.3.1
2+
3+
### New Features
4+
5+
### Bug Fixes
6+
7+
Full
8+
Changelog: [v0.3.0...v0.3.1](https://github.com/josxha/flutter-maplibre/compare/v0.3.0...v0.3.1)
9+
10+
## 0.3.0
211

312
In this release, I'm blazed to finally announce support for iOS.
413
Similar to our other platforms, iOS uses FFI to natively interop between Dart

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ All kinds of contributions are welcome. Thanks a lot if you consider to
107107
contribute in any way! There are different ways how you can help the
108108
development:
109109

110-
- 🌟Give the project on [GitHub](https://github.com/josxha/flutter-maplibre)
111-
and [pub.dev](https://pub.dev/packages/maplibre).
110+
- 🌟Give the project on [GitHub](https://github.com/josxha/flutter-maplibre) a star
111+
and like it on [pub.dev](https://pub.dev/packages/maplibre).
112112
- 🪴Use the package in your project
113113
and [share feedback](https://github.com/josxha/flutter-maplibre/discussions/categories/show-and-tell).
114114
- 🐛[Open bug reports](https://github.com/josxha/flutter-maplibre/issues/new?assignees=&labels=bug&projects=&template=1-bug.yml&title=%5BBUG%5D+%3Ctitle%3E)

lib/maplibre.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
export 'package:geobase/geobase.dart';
44

55
export 'src/android_platform_view_mode.dart';
6+
export 'src/layer/extensions.dart' show ColorExtension;
67
export 'src/layer/layer.dart';
78
export 'src/lng_lat_bounds.dart';
89
export 'src/map.dart';

lib/src/layer/extensions.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import 'dart:ui';
22

33
/// Extension methods on [Color].
4-
extension ColorExt on Color {
4+
extension ColorExtension on Color {
55
/// Convert the [Color] object to an hex string without an optional opacity.
66
String toHexString({bool hashSign = true, bool alpha = false}) {
77
final alphaStr = (a * 255).toInt().toRadixString(16).padLeft(2, '0');

lib/src/layer/layer.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import 'dart:ui';
22

33
import 'package:flutter/foundation.dart';
44
import 'package:maplibre/maplibre.dart';
5-
import 'package:maplibre/src/layer/extensions.dart';
65

76
part 'circle_layer.dart';
87
part 'marker_layer.dart';

lib/src/platform/ios/map_state.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import 'dart:ffi';
44
import 'package:flutter/material.dart';
55
import 'package:flutter/services.dart';
66
import 'package:maplibre/maplibre.dart';
7-
import 'package:maplibre/src/layer/extensions.dart';
87
import 'package:maplibre/src/layer/layer_manager.dart';
98
import 'package:maplibre/src/platform/android/extensions.dart';
109
import 'package:maplibre/src/platform/ios/extensions.dart';

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: maplibre
22
description: "Permissive and performant mapping library that supports Mapbox Vector Tiles (MVT) powered by MapLibre SDKs."
3-
version: 0.3.0
3+
version: 0.3.1
44
repository: https://github.com/josxha/flutter-maplibre
55
issue_tracker: https://github.com/josxha/flutter-maplibre/issues
66
homepage: https://flutter-maplibre.pages.dev

0 commit comments

Comments
 (0)