1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

Flutter 3.29 beta (#2571)

This commit is contained in:
Eric Windmill
2025-02-12 18:08:01 -05:00
committed by GitHub
parent d62c784789
commit 719fd72c38
685 changed files with 76244 additions and 53721 deletions

View File

@@ -125,16 +125,12 @@ class _CounterDemoState extends State<CounterDemo> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
appBar: AppBar(title: Text(widget.title)),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
const Text(
'You have pushed the button this many times:',
),
const Text('You have pushed the button this many times:'),
Text(
'${widget.numToDisplay}',
style: Theme.of(context).textTheme.headlineMedium,
@@ -157,9 +153,7 @@ class TextFieldDemo extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(title),
),
appBar: AppBar(title: Text(title)),
body: const Center(
child: Padding(
padding: EdgeInsets.all(14.0),
@@ -224,9 +218,7 @@ class _CustomDemoState extends State<CustomDemo> {
'COUNT WITH DASH!',
style: TextStyle(color: Colors.white, fontSize: 18),
),
const SizedBox(
height: 26,
),
const SizedBox(height: 26),
Container(
width: 98,
height: 98,
@@ -287,9 +279,7 @@ class _CustomDemoState extends State<CustomDemo> {
),
),
),
const SizedBox(
width: 12,
),
const SizedBox(width: 12),
Center(
child: Container(
width: 42,