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
6 changes: 1 addition & 5 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,7 @@ Future<void> main() async {
class MyApp extends StatefulWidget {
final SnowplowTracker tracker;
final MediaTracking? mediaTracking;
const MyApp({
Key? key,
required this.tracker,
this.mediaTracking,
}) : super(key: key);
const MyApp({super.key, required this.tracker, this.mediaTracking});

@override
State<MyApp> createState() => _MyAppState();
Expand Down
4 changes: 2 additions & 2 deletions example/lib/main_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import 'nested_page.dart';

class MainPage extends StatefulWidget {
const MainPage({
Key? key,
super.key,
required this.tracker,
this.mediaTracking,
}) : super(key: key);
});

final SnowplowTracker tracker;
final MediaTracking? mediaTracking;
Expand Down
2 changes: 1 addition & 1 deletion example/lib/nested_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import 'overview.dart';
import 'snowplow_bdp.dart';

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

final SnowplowTracker tracker;

Expand Down
2 changes: 1 addition & 1 deletion example/lib/overview.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
import 'package:flutter_markdown/flutter_markdown.dart';

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

@override
Widget build(BuildContext context) {
Expand Down
2 changes: 1 addition & 1 deletion example/lib/snowplow_bdp.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
import 'package:flutter_markdown/flutter_markdown.dart';

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

@override
Widget build(BuildContext context) {
Expand Down
28 changes: 18 additions & 10 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -103,18 +103,18 @@ packages:
dependency: "direct dev"
description:
name: flutter_lints
sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04
sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1"
url: "https://pub.dev"
source: hosted
version: "2.0.3"
version: "3.0.2"
flutter_markdown:
dependency: "direct main"
description:
name: flutter_markdown
sha256: "87e11b9df25a42e2db315b8b7a51fae8e66f57a4b2f50ec4b822d0fa155e6b52"
sha256: "31c12de79262b5431c5492e9c89948aa789158435f707d3519a7fdef6af28af7"
url: "https://pub.dev"
source: hosted
version: "0.6.22"
version: "0.6.22+1"
flutter_test:
dependency: "direct dev"
description: flutter
Expand All @@ -134,10 +134,10 @@ packages:
dependency: "direct dev"
description:
name: http
sha256: "5895291c13fa8a3bd82e76d5627f69e0d85ca6a30dcac95c4ea19a5d555879c2"
sha256: a2bbf9d017fcced29139daa8ed2bba4ece450ab222871df93ca9eec6f80c34ba
url: "https://pub.dev"
source: hosted
version: "0.13.6"
version: "1.2.0"
http_parser:
dependency: transitive
description:
Expand All @@ -155,10 +155,10 @@ packages:
dependency: transitive
description:
name: js
sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf
url: "https://pub.dev"
source: hosted
version: "0.6.7"
version: "0.7.1"
leak_tracker:
dependency: transitive
description:
Expand Down Expand Up @@ -187,10 +187,10 @@ packages:
dependency: transitive
description:
name: lints
sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452"
sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
url: "https://pub.dev"
source: hosted
version: "2.1.1"
version: "3.0.0"
markdown:
dependency: transitive
description:
Expand Down Expand Up @@ -355,6 +355,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "13.0.0"
web:
dependency: transitive
description:
name: web
sha256: "4188706108906f002b3a293509234588823c8c979dc83304e229ff400c996b05"
url: "https://pub.dev"
source: hosted
version: "0.4.2"
webdriver:
dependency: transitive
description:
Expand Down
4 changes: 2 additions & 2 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ dev_dependencies:
sdk: flutter
flutter_test:
sdk: flutter
http: ^0.13.5
http: "1.2.0"

# The "flutter_lints" package below contains a set of recommended lints to
# encourage good coding practices. The lint set provided by the package is
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^2.0.1
flutter_lints: ^3.0.2

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ dependencies:
sdk: flutter
flutter_web_plugins:
sdk: flutter
js: ^0.6.4
js: ^0.7.1
uuid: ^4.0.0

dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
http: ^0.13.5
flutter_lints: ^3.0.2
http: "1.2.0"

flutter:
plugin:
Expand Down