Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
martijn00 committed Aug 13, 2024
1 parent 35a8e43 commit 0df8d02
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ void main() {
}

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

@override
Widget build(BuildContext context) {
Expand All @@ -19,7 +19,7 @@ class MyApp extends StatelessWidget {
}

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

@override
Widget build(BuildContext context) {
Expand Down
4 changes: 2 additions & 2 deletions example/lib/main_sets.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ void main() {
}

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

@override
Widget build(BuildContext context) {
Expand All @@ -34,7 +34,7 @@ class MyApp extends StatelessWidget {
class OctoImagePage extends StatelessWidget {
final List<OctoSet> sets;

const OctoImagePage({Key? key, required this.sets}) : super(key: key);
const OctoImagePage({super.key, required this.sets});

@override
Widget build(BuildContext context) {
Expand Down
7 changes: 4 additions & 3 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,20 @@ version: 1.0.0
publish_to: none

environment:
sdk: ">=2.12.0-0 <3.0.0"
sdk: '>=3.0.0 <4.0.0'
flutter: '>=3.10.0'

dependencies:
flutter:
sdk: flutter
octo_image:
path: ../
http: ^0.13.0
http: ^1.2.2

dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^1.0.4
flutter_lints: ^4.0.0

flutter:
uses-material-design: true

0 comments on commit 0df8d02

Please sign in to comment.