diff --git a/lib/main.dart b/lib/main.dart index 79f1250..baba46e 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -11,7 +11,7 @@ void main() { } class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); + const MyApp({super.key}); @override Widget build(BuildContext context) { diff --git a/lib/pages/page_styles.dart b/lib/pages/page_styles.dart index 478ce24..aaef8ee 100644 --- a/lib/pages/page_styles.dart +++ b/lib/pages/page_styles.dart @@ -2,7 +2,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_website/components/components.dart'; class TypographyPage extends StatelessWidget { - const TypographyPage({Key? key}) : super(key: key); + const TypographyPage({super.key}); @override Widget build(BuildContext context) { diff --git a/lib/ui/block_wrapper.dart b/lib/ui/block_wrapper.dart index 59db4d6..95e7fa4 100644 --- a/lib/ui/block_wrapper.dart +++ b/lib/ui/block_wrapper.dart @@ -8,7 +8,7 @@ import 'package:responsive_framework/responsive_framework.dart'; class BlockWrapper extends StatelessWidget { final Widget widget; - const BlockWrapper(this.widget, {Key? key}) : super(key: key); + const BlockWrapper(this.widget, {super.key}); @override Widget build(BuildContext context) { diff --git a/lib/ui/blocks.dart b/lib/ui/blocks.dart index 88ca613..51b6023 100644 --- a/lib/ui/blocks.dart +++ b/lib/ui/blocks.dart @@ -12,7 +12,7 @@ import 'package:video_player/video_player.dart'; import 'package:webview_flutter/webview_flutter.dart'; class WebsiteMenuBar extends StatelessWidget { - const WebsiteMenuBar({Key? key}) : super(key: key); + const WebsiteMenuBar({super.key}); @override Widget build(BuildContext context) { @@ -212,7 +212,7 @@ class WebsiteMenuBar extends StatelessWidget { } class GetStarted extends StatelessWidget { - const GetStarted({Key? key}) : super(key: key); + const GetStarted({super.key}); @override Widget build(BuildContext context) { @@ -456,7 +456,7 @@ class GetStarted extends StatelessWidget { } class Features extends StatelessWidget { - const Features({Key? key}) : super(key: key); + const Features({super.key}); @override Widget build(BuildContext context) { @@ -570,7 +570,7 @@ class Features extends StatelessWidget { } class FastDevelopment extends StatefulWidget { - const FastDevelopment({Key? key}) : super(key: key); + const FastDevelopment({super.key}); @override State createState() => _FastDevelopmentState(); @@ -693,7 +693,7 @@ class _FastDevelopmentState extends State { } class BeautifulUI extends StatefulWidget { - const BeautifulUI({Key? key}) : super(key: key); + const BeautifulUI({super.key}); @override State createState() => _BeautifulUIState(); @@ -815,7 +815,7 @@ class _BeautifulUIState extends State { } class NativePerformance extends StatefulWidget { - const NativePerformance({Key? key}) : super(key: key); + const NativePerformance({super.key}); @override State createState() => _NativePerformanceState(); @@ -957,7 +957,7 @@ class _NativePerformanceState extends State { } class LearnFromDevelopers extends StatefulWidget { - const LearnFromDevelopers({Key? key}) : super(key: key); + const LearnFromDevelopers({super.key}); @override State createState() => _LearnFromDevelopersState(); @@ -1067,7 +1067,7 @@ class _LearnFromDevelopersState extends State { } class WhoUsesFlutter extends StatelessWidget { - const WhoUsesFlutter({Key? key}) : super(key: key); + const WhoUsesFlutter({super.key}); @override Widget build(BuildContext context) { @@ -1133,7 +1133,7 @@ class WhoUsesFlutter extends StatelessWidget { } class FlutterNewsRow extends StatelessWidget { - const FlutterNewsRow({Key? key}) : super(key: key); + const FlutterNewsRow({super.key}); @override Widget build(BuildContext context) { @@ -1179,11 +1179,10 @@ class FlutterNewsCard extends StatelessWidget { final String linkUrl; const FlutterNewsCard( - {Key? key, + {super.key, required this.title, required this.imagePath, - required this.linkUrl}) - : super(key: key); + required this.linkUrl}); @override Widget build(BuildContext context) { @@ -1228,7 +1227,7 @@ class FlutterNewsCard extends StatelessWidget { } class FlutterCodelab extends StatefulWidget { - const FlutterCodelab({Key? key}) : super(key: key); + const FlutterCodelab({super.key}); @override State createState() => _FlutterCodelabState(); @@ -1374,7 +1373,7 @@ class _FlutterCodelabState extends State } class InstallFlutter extends StatelessWidget { - const InstallFlutter({Key? key}) : super(key: key); + const InstallFlutter({super.key}); @override Widget build(BuildContext context) { @@ -1465,7 +1464,7 @@ class InstallFlutter extends StatelessWidget { } class Footer extends StatelessWidget { - const Footer({Key? key}) : super(key: key); + const Footer({super.key}); @override Widget build(BuildContext context) { diff --git a/lib/ui/carousel/animation_slide_up_down_fade.dart b/lib/ui/carousel/animation_slide_up_down_fade.dart index b3dbf52..4ee3844 100644 --- a/lib/ui/carousel/animation_slide_up_down_fade.dart +++ b/lib/ui/carousel/animation_slide_up_down_fade.dart @@ -7,8 +7,7 @@ class WidgetSlideUpDownFadeAnimation extends StatelessWidget { final Widget child; const WidgetSlideUpDownFadeAnimation( - {Key? key, required this.duration, required this.offset, required this.direction, required this.child}) - : super(key: key); + {super.key, required this.duration, required this.offset, required this.direction, required this.child}); @override Widget build(BuildContext context) { diff --git a/lib/ui/carousel/carousel.dart b/lib/ui/carousel/carousel.dart index b68baea..b58055e 100644 --- a/lib/ui/carousel/carousel.dart +++ b/lib/ui/carousel/carousel.dart @@ -14,7 +14,7 @@ class Carousel extends StatefulWidget { CarouselSlide4(slideDuration: slideDuration), ]; - Carousel({Key? key}) : super(key: key); + Carousel({super.key}); @override _CarouselState createState() => _CarouselState(); diff --git a/lib/ui/carousel/carousel_slide_1.dart b/lib/ui/carousel/carousel_slide_1.dart index 47837a8..c7d3aa6 100644 --- a/lib/ui/carousel/carousel_slide_1.dart +++ b/lib/ui/carousel/carousel_slide_1.dart @@ -7,8 +7,7 @@ import 'model_carousel_item_animation.dart'; class CarouselSlide1 extends StatefulWidget { final int slideDuration; - const CarouselSlide1({Key? key, required this.slideDuration}) - : super(key: key); + const CarouselSlide1({super.key, required this.slideDuration}); @override _CarouselSlide1State createState() => _CarouselSlide1State(); diff --git a/lib/ui/carousel/carousel_slide_2.dart b/lib/ui/carousel/carousel_slide_2.dart index 17ec026..a627735 100644 --- a/lib/ui/carousel/carousel_slide_2.dart +++ b/lib/ui/carousel/carousel_slide_2.dart @@ -7,8 +7,7 @@ import 'animation_slide_up_down_fade.dart'; class CarouselSlide2 extends StatefulWidget { final int slideDuration; - const CarouselSlide2({Key? key, required this.slideDuration}) - : super(key: key); + const CarouselSlide2({super.key, required this.slideDuration}); @override _CarouselSlide2State createState() => _CarouselSlide2State(); diff --git a/lib/ui/carousel/carousel_slide_3.dart b/lib/ui/carousel/carousel_slide_3.dart index 0d5e311..92d69e1 100644 --- a/lib/ui/carousel/carousel_slide_3.dart +++ b/lib/ui/carousel/carousel_slide_3.dart @@ -7,8 +7,7 @@ import 'animation_slide_up_down_fade.dart'; class CarouselSlide3 extends StatefulWidget { final int slideDuration; - const CarouselSlide3({Key? key, required this.slideDuration}) - : super(key: key); + const CarouselSlide3({super.key, required this.slideDuration}); @override _CarouselSlide3State createState() => _CarouselSlide3State(); diff --git a/lib/ui/carousel/carousel_slide_4.dart b/lib/ui/carousel/carousel_slide_4.dart index c770c34..3861e3f 100644 --- a/lib/ui/carousel/carousel_slide_4.dart +++ b/lib/ui/carousel/carousel_slide_4.dart @@ -7,8 +7,7 @@ import 'animation_slide_up_down_fade.dart'; class CarouselSlide4 extends StatefulWidget { final int slideDuration; - const CarouselSlide4({Key? key, required this.slideDuration}) - : super(key: key); + const CarouselSlide4({super.key, required this.slideDuration}); @override _CarouselSlide4State createState() => _CarouselSlide4State(); diff --git a/pubspec.lock b/pubspec.lock index 09b0712..aeaa626 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,18 +5,18 @@ packages: dependency: "direct main" description: name: animations - sha256: fe8a6bdca435f718bb1dc8a11661b2c22504c6da40ef934cee8327ed77934164 + sha256: d3d6dcfb218225bbe68e87ccf6378bbb2e32a94900722c5f81611dad089911cb url: "https://pub.dev" source: hosted - version: "2.0.7" + version: "2.0.11" async: dependency: transitive description: name: async - sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0 + sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" url: "https://pub.dev" source: hosted - version: "2.10.0" + version: "2.11.0" boolean_selector: dependency: transitive description: @@ -29,10 +29,10 @@ packages: dependency: transitive description: name: characters - sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c + sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" url: "https://pub.dev" source: hosted - version: "1.2.1" + version: "1.3.0" charcode: dependency: transitive description: @@ -53,10 +53,10 @@ packages: dependency: transitive description: name: collection - sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0 + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted - version: "1.17.0" + version: "1.18.0" crypto: dependency: transitive description: @@ -69,18 +69,18 @@ packages: dependency: transitive description: name: csslib - sha256: b36c7f7e24c0bdf1bf9a3da461c837d1de64b9f8beb190c9011d8c72a3dfd745 + sha256: "706b5707578e0c1b4b7550f64078f0a0f19dec3f50a178ffae7006b0a9ca58fb" url: "https://pub.dev" source: hosted - version: "0.17.2" + version: "1.0.0" cupertino_icons: dependency: "direct main" description: name: cupertino_icons - sha256: e35129dc44c9118cee2a5603506d823bab99c68393879edb440e0090d07586be + sha256: d57953e10f9f8327ce64a508a355f0b1ec902193f66288e8cb5070e7c47eeb2d url: "https://pub.dev" source: hosted - version: "1.0.5" + version: "1.0.6" fake_async: dependency: transitive description: @@ -114,10 +114,10 @@ packages: dependency: "direct dev" description: name: flutter_lints - sha256: aeb0b80a8b3709709c9cc496cdc027c5b3216796bc0af0ce1007eaf24464fd4c + sha256: e2a421b7e59244faef694ba7b30562e489c2b489866e505074eb005cd7060db7 url: "https://pub.dev" source: hosted - version: "2.0.1" + version: "3.0.1" flutter_test: dependency: "direct dev" description: flutter @@ -132,26 +132,26 @@ packages: dependency: "direct main" description: name: google_fonts - sha256: "927573f2e8a8d65c17931e21918ad0ab0666b1b636537de7c4932bdb487b190f" + sha256: f0b8d115a13ecf827013ec9fc883390ccc0e87a96ed5347a3114cac177ef18e8 url: "https://pub.dev" source: hosted - version: "4.0.3" + version: "6.1.0" html: dependency: transitive description: name: html - sha256: "79d498e6d6761925a34ee5ea8fa6dfef38607781d2fa91e37523474282af55cb" + sha256: "3a7812d5bcd2894edf53dfaf8cd640876cf6cef50a8f238745c8b8120ea74d3a" url: "https://pub.dev" source: hosted - version: "0.15.2" + version: "0.15.4" http: dependency: transitive description: name: http - sha256: "6aa2946395183537c8b880962d935877325d6a09a2867c3970c05c0fed6ac482" + sha256: "761a297c042deedc1ffbb156d6e2af13886bb305c2a343a4d972504cd67dd938" url: "https://pub.dev" source: hosted - version: "0.13.5" + version: "1.2.1" http_parser: dependency: transitive description: @@ -160,54 +160,70 @@ packages: url: "https://pub.dev" source: hosted version: "4.0.2" - js: + leak_tracker: + dependency: transitive + description: + name: leak_tracker + sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa" + url: "https://pub.dev" + source: hosted + version: "10.0.0" + leak_tracker_flutter_testing: dependency: transitive description: - name: js - sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7" + name: leak_tracker_flutter_testing + sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0 url: "https://pub.dev" source: hosted - version: "0.6.5" + version: "2.0.1" + leak_tracker_testing: + dependency: transitive + description: + name: leak_tracker_testing + sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47 + url: "https://pub.dev" + source: hosted + version: "2.0.1" lints: dependency: transitive description: name: lints - sha256: "5e4a9cd06d447758280a8ac2405101e0e2094d2a1dbdd3756aec3fe7775ba593" + sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290 url: "https://pub.dev" source: hosted - version: "2.0.1" + version: "3.0.0" matcher: dependency: transitive description: name: matcher - sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72" + sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted - version: "0.12.13" + version: "0.12.16+1" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724 + sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" url: "https://pub.dev" source: hosted - version: "0.2.0" + version: "0.8.0" meta: dependency: transitive description: name: meta - sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42" + sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 url: "https://pub.dev" source: hosted - version: "1.8.0" + version: "1.11.0" path: dependency: transitive description: name: path - sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b + sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted - version: "1.8.2" + version: "1.9.0" path_provider: dependency: transitive description: @@ -268,10 +284,10 @@ packages: dependency: transitive description: name: plugin_platform_interface - sha256: "6a2128648c854906c53fa8e33986fc0247a1116122f9534dd20e3ab9e16a32bc" + sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" url: "https://pub.dev" source: hosted - version: "2.1.4" + version: "2.1.8" process: dependency: transitive description: @@ -296,26 +312,26 @@ packages: dependency: transitive description: name: source_span - sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250 + sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" url: "https://pub.dev" source: hosted - version: "1.9.1" + version: "1.10.0" stack_trace: dependency: transitive description: name: stack_trace - sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.11.1" stream_channel: dependency: transitive description: name: stream_channel - sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" string_scanner: dependency: transitive description: @@ -336,98 +352,98 @@ packages: dependency: transitive description: name: test_api - sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206 + sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" url: "https://pub.dev" source: hosted - version: "0.4.16" + version: "0.6.1" typed_data: dependency: transitive description: name: typed_data - sha256: "26f87ade979c47a150c9eaab93ccd2bebe70a27dc0b4b29517f2904f04eb11a5" + sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c url: "https://pub.dev" source: hosted - version: "1.3.1" + version: "1.3.2" universal_html: dependency: "direct main" description: name: universal_html - sha256: ed4f24120c9b1b4721d44e439f7a47d09d9f1b7b868bc84c9d6d373a4a8732af + sha256: "56536254004e24d9d8cfdb7dbbf09b74cf8df96729f38a2f5c238163e3d58971" url: "https://pub.dev" source: hosted - version: "2.2.1" + version: "2.2.4" universal_io: dependency: transitive description: name: universal_io - sha256: "06866290206d196064fd61df4c7aea1ffe9a4e7c4ccaa8fcded42dd41948005d" + sha256: "1722b2dcc462b4b2f3ee7d188dad008b6eb4c40bbd03a3de451d82c78bba9aad" url: "https://pub.dev" source: hosted - version: "2.2.0" + version: "2.2.2" url_launcher: dependency: "direct main" description: name: url_launcher - sha256: "75f2846facd11168d007529d6cd8fcb2b750186bea046af9711f10b907e1587e" + sha256: "0ecc004c62fd3ed36a2ffcbe0dd9700aee63bd7532d0b642a488b1ec310f492e" url: "https://pub.dev" source: hosted - version: "6.1.10" + version: "6.2.5" url_launcher_android: dependency: transitive description: name: url_launcher_android - sha256: "845530e5e05db5500c1a4c1446785d60cbd8f9bd45e21e7dd643a3273bb4bbd1" + sha256: d4ed0711849dd8e33eb2dd69c25db0d0d3fdc37e0a62e629fe32f57a22db2745 url: "https://pub.dev" source: hosted - version: "6.0.25" + version: "6.3.0" url_launcher_ios: dependency: transitive description: name: url_launcher_ios - sha256: "7ab1e5b646623d6a2537aa59d5d039f90eebef75a7c25e105f6f75de1f7750c3" + sha256: "75bb6fe3f60070407704282a2d295630cab232991eb52542b18347a8a941df03" url: "https://pub.dev" source: hosted - version: "6.1.2" + version: "6.2.4" url_launcher_linux: dependency: transitive description: name: url_launcher_linux - sha256: "206fb8334a700ef7754d6a9ed119e7349bc830448098f21a69bf1b4ed038cabc" + sha256: ab360eb661f8879369acac07b6bb3ff09d9471155357da8443fd5d3cf7363811 url: "https://pub.dev" source: hosted - version: "3.0.4" + version: "3.1.1" url_launcher_macos: dependency: transitive description: name: url_launcher_macos - sha256: "0ef2b4f97942a16523e51256b799e9aa1843da6c60c55eefbfa9dbc2dcb8331a" + sha256: b7244901ea3cf489c5335bdacda07264a6e960b1c1b1a9f91e4bc371d9e68234 url: "https://pub.dev" source: hosted - version: "3.0.4" + version: "3.1.0" url_launcher_platform_interface: dependency: transitive description: name: url_launcher_platform_interface - sha256: "6c9ca697a5ae218ce56cece69d46128169a58aa8653c1b01d26fcd4aad8c4370" + sha256: "552f8a1e663569be95a8190206a38187b531910283c3e982193e4f2733f01029" url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.3.2" url_launcher_web: dependency: transitive description: name: url_launcher_web - sha256: "81fe91b6c4f84f222d186a9d23c73157dc4c8e1c71489c4d08be1ad3b228f1aa" + sha256: "3692a459204a33e04bc94f5fb91158faf4f2c8903281ddd82915adecdb1a901d" url: "https://pub.dev" source: hosted - version: "2.0.16" + version: "2.3.0" url_launcher_windows: dependency: transitive description: name: url_launcher_windows - sha256: a83ba3607a507758669cfafb03f9de09bf6e6280c14d9b9cb18f013e406dcacd + sha256: ecf9725510600aa2bb6d7ddabe16357691b6d2805f66216a97d1b881e21beff7 url: "https://pub.dev" source: hosted - version: "3.0.5" + version: "3.1.1" vector_math: dependency: transitive description: @@ -440,10 +456,10 @@ packages: dependency: "direct main" description: name: video_player - sha256: "868a139229acb5018d22aded3eb9cb4767ff43a8216573c086b6c535a4957481" + sha256: fbf28ce8bcfe709ad91b5789166c832cb7a684d14f571a81891858fefb5bb1c2 url: "https://pub.dev" source: hosted - version: "2.6.0" + version: "2.8.2" video_player_android: dependency: transitive description: @@ -456,10 +472,10 @@ packages: dependency: transitive description: name: video_player_avfoundation - sha256: "90468226c8687adf7b567d9bb42c25588783c4d30509af1fbd663b2dd049f700" + sha256: "309e3962795e761be010869bae65c0b0e45b5230c5cee1bec72197ca7db040ed" url: "https://pub.dev" source: hosted - version: "2.4.2" + version: "2.5.6" video_player_platform_interface: dependency: transitive description: @@ -476,38 +492,54 @@ packages: url: "https://pub.dev" source: hosted version: "2.0.15" + vm_service: + dependency: transitive + description: + name: vm_service + sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 + url: "https://pub.dev" + source: hosted + version: "13.0.0" + web: + dependency: transitive + description: + name: web + sha256: "1d9158c616048c38f712a6646e317a3426da10e884447626167240d45209cbad" + url: "https://pub.dev" + source: hosted + version: "0.5.0" webview_flutter: dependency: "direct main" description: name: webview_flutter - sha256: b6cd42db3ced5411f3d01599906156885b18e4188f7065a8a351eb84bee347e0 + sha256: "25e1b6e839e8cbfbd708abc6f85ed09d1727e24e08e08c6b8590d7c65c9a8932" url: "https://pub.dev" source: hosted - version: "4.0.6" + version: "4.7.0" webview_flutter_android: dependency: transitive description: name: webview_flutter_android - sha256: c849dcb6bf7367f696869006fb9575c15bdc6a1d624ae13f12de5a147a740b12 + sha256: "3e5f4e9d818086b0d01a66fb1ff9cc72ab0cc58c71980e3d3661c5685ea0efb0" url: "https://pub.dev" source: hosted - version: "3.4.2" + version: "3.15.0" webview_flutter_platform_interface: dependency: transitive description: name: webview_flutter_platform_interface - sha256: "1939c39e2150fb4d30fd3cc59a891a49fed9935db53007df633ed83581b6117b" + sha256: d937581d6e558908d7ae3dc1989c4f87b786891ab47bb9df7de548a151779d8d url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.10.0" webview_flutter_wkwebview: dependency: transitive description: name: webview_flutter_wkwebview - sha256: ab12479f7a0cf112b9420c36aaf206a1ca47cd60cd42de74a4be2e97a697587b + sha256: "9bf168bccdf179ce90450b5f37e36fe263f591c9338828d6bf09b6f8d0f57f86" url: "https://pub.dev" source: hosted - version: "3.2.1" + version: "3.12.0" win32: dependency: transitive description: @@ -525,5 +557,5 @@ packages: source: hosted version: "1.0.0" sdks: - dart: ">=2.18.0 <4.0.0" - flutter: ">=3.3.0" + dart: ">=3.3.0 <4.0.0" + flutter: ">=3.19.0" diff --git a/pubspec.yaml b/pubspec.yaml index 15e153e..070f7d1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -9,20 +9,20 @@ environment: dependencies: flutter: sdk: flutter - cupertino_icons: ^1.0.5 - animations: ^2.0.7 - url_launcher: ^6.1.10 - video_player: ^2.6.0 - webview_flutter: ^4.0.6 - universal_html: ^2.2.1 - google_fonts: ^4.0.3 + cupertino_icons: ^1.0.6 + animations: ^2.0.11 + url_launcher: ^6.2.5 + video_player: ^2.8.2 + webview_flutter: ^4.7.0 + universal_html: ^2.2.4 + google_fonts: ^6.1.0 responsive_framework: path: responsive_framework/ dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^2.0.1 + flutter_lints: ^3.0.1 flutter: uses-material-design: true diff --git a/windows/flutter/CMakeLists.txt b/windows/flutter/CMakeLists.txt index b2e4bd8..4f2af69 100644 --- a/windows/flutter/CMakeLists.txt +++ b/windows/flutter/CMakeLists.txt @@ -9,6 +9,11 @@ include(${EPHEMERAL_DIR}/generated_config.cmake) # https://github.com/flutter/flutter/issues/57146. set(WRAPPER_ROOT "${EPHEMERAL_DIR}/cpp_client_wrapper") +# Set fallback configurations for older versions of the flutter tool. +if (NOT DEFINED FLUTTER_TARGET_PLATFORM) + set(FLUTTER_TARGET_PLATFORM "windows-x64") +endif() + # === Flutter Library === set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/flutter_windows.dll") @@ -91,7 +96,7 @@ add_custom_command( COMMAND ${CMAKE_COMMAND} -E env ${FLUTTER_TOOL_ENVIRONMENT} "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.bat" - windows-x64 $ + ${FLUTTER_TARGET_PLATFORM} $ VERBATIM ) add_custom_target(flutter_assemble DEPENDS diff --git a/windows/runner/Runner.rc b/windows/runner/Runner.rc index 2745035..337f1fc 100644 --- a/windows/runner/Runner.rc +++ b/windows/runner/Runner.rc @@ -60,14 +60,14 @@ IDI_APP_ICON ICON "resources\\app_icon.ico" // Version // -#ifdef FLUTTER_BUILD_NUMBER -#define VERSION_AS_NUMBER FLUTTER_BUILD_NUMBER +#if defined(FLUTTER_VERSION_MAJOR) && defined(FLUTTER_VERSION_MINOR) && defined(FLUTTER_VERSION_PATCH) && defined(FLUTTER_VERSION_BUILD) +#define VERSION_AS_NUMBER FLUTTER_VERSION_MAJOR,FLUTTER_VERSION_MINOR,FLUTTER_VERSION_PATCH,FLUTTER_VERSION_BUILD #else -#define VERSION_AS_NUMBER 1,0,0 +#define VERSION_AS_NUMBER 1,0,0,0 #endif -#ifdef FLUTTER_BUILD_NAME -#define VERSION_AS_STRING #FLUTTER_BUILD_NAME +#if defined(FLUTTER_VERSION) +#define VERSION_AS_STRING FLUTTER_VERSION #else #define VERSION_AS_STRING "1.0.0" #endif