mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
jsonexample: Update lint rules, rebuild runners (#826)
This commit is contained in:
@@ -5,9 +5,11 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:jsonexample/tab_pages.dart';
|
||||
|
||||
void main() => runApp(MyApp());
|
||||
void main() => runApp(const MyApp());
|
||||
|
||||
class MyApp extends StatelessWidget {
|
||||
const MyApp({Key? key}) : super(key: key);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
@@ -46,7 +48,7 @@ class MyHomePage extends StatelessWidget {
|
||||
],
|
||||
),
|
||||
),
|
||||
body: SafeArea(
|
||||
body: const SafeArea(
|
||||
bottom: false,
|
||||
child: TabBarView(
|
||||
children: [
|
||||
|
||||
Reference in New Issue
Block a user