Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include: package:fd_lints/flutter.yaml
include: package:flutter_lints/flutter.yaml

analyzer:
plugins:
- custom_lint
plugins:
fd_lints: ^3.0.0
Comment thread
TesteurManiak marked this conversation as resolved.
4 changes: 2 additions & 2 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void main() async {
}

class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
const MyApp({super.key});

// This widget is the root of your application.
@override
Expand All @@ -51,7 +51,7 @@ class MyApp extends StatelessWidget {
}

class MyHomePage extends StatefulWidget {
const MyHomePage({Key? key, required this.title}) : super(key: key);
const MyHomePage({super.key, required this.title});

final String title;

Expand Down
1 change: 1 addition & 0 deletions example/linux/flutter/generated_plugins.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
)

list(APPEND FLUTTER_FFI_PLUGIN_LIST
jni
)

set(PLUGIN_BUNDLED_LIBRARIES)
Expand Down
2 changes: 2 additions & 0 deletions example/macos/Flutter/GeneratedPluginRegistrant.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ import Foundation

import device_info_plus
import package_info_plus
import share_plus
import shared_preferences_foundation
import url_launcher_macos

func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin"))
FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin"))
SharePlusMacosPlugin.register(with: registry.registrar(forPlugin: "SharePlusMacosPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
}
11 changes: 6 additions & 5 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
name: example
description: Demonstrates how to use the matomo_tracker package.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
publish_to: "none" # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: '>=2.19.5 <4.0.0'
sdk: ">=3.4.1 <4.0.0"

dependencies:
flutter:
sdk: flutter
matomo_tracker:
path: ..
url_launcher: ^6.1.11
share_plus: ^13.1.0
url_launcher: ^6.3.2

dev_dependencies:
flutter_lints: ^6.0.0
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0

flutter:
uses-material-design: true
uses-material-design: true
3 changes: 3 additions & 0 deletions example/windows/flutter/generated_plugin_registrant.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@

#include "generated_plugin_registrant.h"

#include <share_plus/share_plus_windows_plugin_c_api.h>
#include <url_launcher_windows/url_launcher_windows.h>

void RegisterPlugins(flutter::PluginRegistry* registry) {
SharePlusWindowsPluginCApiRegisterWithRegistrar(
registry->GetRegistrarForPlugin("SharePlusWindowsPluginCApi"));
UrlLauncherWindowsRegisterWithRegistrar(
registry->GetRegistrarForPlugin("UrlLauncherWindows"));
}
2 changes: 2 additions & 0 deletions example/windows/flutter/generated_plugins.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
#

list(APPEND FLUTTER_PLUGIN_LIST
share_plus
url_launcher_windows
)

list(APPEND FLUTTER_FFI_PLUGIN_LIST
jni
)

set(PLUGIN_BUNDLED_LIBRARIES)
Expand Down
2 changes: 1 addition & 1 deletion lib/matomo_tracker.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// A fully cross-platform wrap of the Matomo [Tracking HTTP API](https://developer.matomo.org/api-reference/tracking-api)
/// for Flutter.
library matomo_tracker;
library;

export 'src/campaign.dart';
export 'src/content.dart';
Expand Down
16 changes: 8 additions & 8 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: matomo_tracker
description: A fully cross-platform wrap of the Matomo tracking client for
Flutter, using the Matomo API.
version: 6.1.0
version: 6.1.1
homepage: https://github.com/Floating-Dartists/matomo-tracker
repository: https://github.com/Floating-Dartists/matomo-tracker
issue_tracker: https://github.com/Floating-Dartists/matomo-tracker/issues
Expand All @@ -19,15 +19,15 @@ dependencies:
device_info_plus: ">=11.3.3 <14.0.0"
flutter:
sdk: flutter
http: ^1.3.0
http: ^1.6.0
package_info_plus: ">=8.3.0 <11.0.0"
shared_preferences: ^2.5.3
uuid: ^4.5.1
shared_preferences: ^2.5.5
uuid: ^4.5.3

dev_dependencies:
custom_lint: ">=0.5.4 <0.8.0"
fd_lints: ^2.4.0
fd_lints: ^3.0.0
Comment thread
TesteurManiak marked this conversation as resolved.
flutter_lints: ^6.0.0
flutter_test:
sdk: flutter
meta: ^1.16.0
mocktail: ^1.0.4
meta: ^1.18.0
Comment thread
TesteurManiak marked this conversation as resolved.
mocktail: ^1.0.5
Loading