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:
Michael Goderbauer
2023-02-02 11:33:57 -08:00
committed by GitHub
parent 3f986e4238
commit b0f1714b7b
107 changed files with 520 additions and 515 deletions

View File

@@ -17,11 +17,11 @@ class SegmentedButtonApp extends StatelessWidget {
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData(useMaterial3: true),
home: Scaffold(
home: const Scaffold(
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: const <Widget>[
children: <Widget>[
Spacer(),
Text('Single choice'),
SingleChoice(),