1
0
mirror of https://github.com/flutter/samples.git synced 2026-05-16 20:08:51 +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

@@ -39,18 +39,15 @@ class _MyAppState extends State<MyApp> {
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.green,
),
theme: ThemeData(primarySwatch: Colors.green),
home: Scaffold(
appBar: AppBar(
title: const Text('Sydney'), backgroundColor: Colors.green[700]),
title: const Text('Sydney'),
backgroundColor: Colors.green[700],
),
body: GoogleMap(
onMapCreated: _onMapCreated,
initialCameraPosition: CameraPosition(
target: _center,
zoom: 11.0,
),
initialCameraPosition: CameraPosition(target: _center, zoom: 11.0),
markers: {
const Marker(
markerId: MarkerId('Sydney'),
@@ -59,7 +56,7 @@ class _MyAppState extends State<MyApp> {
title: "Sydney",
snippet: "Capital of New South Wales",
),
)
),
},
),
),