Skip to content

Commit

Permalink
Update Dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rayliverified committed Feb 24, 2024
1 parent 340ad40 commit 05c2400
Show file tree
Hide file tree
Showing 14 changed files with 154 additions and 123 deletions.
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/page_styles.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_website/components/components.dart';

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

@override
Widget build(BuildContext context) {
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/block_wrapper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
29 changes: 14 additions & 15 deletions lib/ui/blocks.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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<FastDevelopment> createState() => _FastDevelopmentState();
Expand Down Expand Up @@ -693,7 +693,7 @@ class _FastDevelopmentState extends State<FastDevelopment> {
}

class BeautifulUI extends StatefulWidget {
const BeautifulUI({Key? key}) : super(key: key);
const BeautifulUI({super.key});

@override
State<BeautifulUI> createState() => _BeautifulUIState();
Expand Down Expand Up @@ -815,7 +815,7 @@ class _BeautifulUIState extends State<BeautifulUI> {
}

class NativePerformance extends StatefulWidget {
const NativePerformance({Key? key}) : super(key: key);
const NativePerformance({super.key});

@override
State<NativePerformance> createState() => _NativePerformanceState();
Expand Down Expand Up @@ -957,7 +957,7 @@ class _NativePerformanceState extends State<NativePerformance> {
}

class LearnFromDevelopers extends StatefulWidget {
const LearnFromDevelopers({Key? key}) : super(key: key);
const LearnFromDevelopers({super.key});

@override
State<LearnFromDevelopers> createState() => _LearnFromDevelopersState();
Expand Down Expand Up @@ -1067,7 +1067,7 @@ class _LearnFromDevelopersState extends State<LearnFromDevelopers> {
}

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

@override
Widget build(BuildContext context) {
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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<FlutterCodelab> createState() => _FlutterCodelabState();
Expand Down Expand Up @@ -1374,7 +1373,7 @@ class _FlutterCodelabState extends State<FlutterCodelab>
}

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

@override
Widget build(BuildContext context) {
Expand Down Expand Up @@ -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) {
Expand Down
3 changes: 1 addition & 2 deletions lib/ui/carousel/animation_slide_up_down_fade.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/carousel/carousel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Carousel extends StatefulWidget {
CarouselSlide4(slideDuration: slideDuration),
];

Carousel({Key? key}) : super(key: key);
Carousel({super.key});

@override
_CarouselState createState() => _CarouselState();
Expand Down
3 changes: 1 addition & 2 deletions lib/ui/carousel/carousel_slide_1.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
3 changes: 1 addition & 2 deletions lib/ui/carousel/carousel_slide_2.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
3 changes: 1 addition & 2 deletions lib/ui/carousel/carousel_slide_3.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
3 changes: 1 addition & 2 deletions lib/ui/carousel/carousel_slide_4.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Loading

0 comments on commit 05c2400

Please sign in to comment.