Skip to content

Commit

Permalink
Fix in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Perondas authored and Perondas committed Aug 25, 2022
1 parent 27f3527 commit 5475319
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 35 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.0.3

* Fixed mistakes in the documentation.
## 0.0.2

* Code cleanup
## 0.0.1

* Initial release.
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.0.2"
version: "0.0.3"
sky_engine:
dependency: transitive
description: flutter
Expand Down
3 changes: 1 addition & 2 deletions lib/signal_strength_method_channel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ class MethodChannelSignalStrength extends SignalStrengthPlatform {
Future<List<int>?> getCellularSignalStrength() async {
var res = await methodChannel
.invokeMethod<List<dynamic>>('getCellSignalStrengths');
var r = res?.map((e) => e as int).toList();
return r;
return res?.map((e) => e as int).toList();
}

@override
Expand Down
33 changes: 1 addition & 32 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: signal_strength
description: Get your phones current signal strengths. Currently only works on android.
version: 0.0.2
version: 0.0.3
homepage: https://github.com/Perondas/signal_strength

environment:
Expand Down Expand Up @@ -37,34 +37,3 @@ flutter:
android:
package: com.perondas.signal_strength
pluginClass: SignalStrengthPlugin

# To add assets to your plugin package, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
#
# For details regarding assets in packages, see
# https://flutter.dev/assets-and-images/#from-packages
#
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware

# To add custom fonts to your plugin package, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts in packages, see
# https://flutter.dev/custom-fonts/#from-packages

0 comments on commit 5475319

Please sign in to comment.