Make Flex,Row,Column const for real (#119673)
* Make Flex,Row,Column const for real * dart fix --apply * fix snippets * fix integration test * add comment
This commit is contained in:
committed by
GitHub
parent
3f986e4238
commit
b0f1714b7b
@@ -5,10 +5,10 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
Future<void> main() async {
|
||||
runApp(Scaffold(
|
||||
runApp(const Scaffold(
|
||||
body: Center(
|
||||
child: Column(
|
||||
children: const <Widget>[
|
||||
children: <Widget>[
|
||||
Icon(Icons.ac_unit),
|
||||
Text('Hello, World', textDirection: TextDirection.ltr),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user