Skip to content

Commit

Permalink
9: errorlens and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcostab committed Jun 2, 2023
1 parent bb05a5f commit fd1cda1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
import 'package:flutter/material.dart';

void main() {
runApp(MyApp());
runApp(const MyApp());
}

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

@override
Widget build(BuildContext context){
return MaterialApp(
return const MaterialApp(
home: HomeWidget(),
);
}
}

class HomeWidget extends StatelessWidget{
const HomeWidget({super.key});

@override
Widget build(BuildContext context) {
return Material(
return const Material(
child: Center(
child: Text('Flutterando'),
),
Expand Down

0 comments on commit fd1cda1

Please sign in to comment.