1
0
mirror of https://github.com/flutter/samples.git synced 2026-07-13 12:32:07 +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

@@ -31,24 +31,19 @@ class _AddPetDetailsState extends State<AddPetDetails> {
icon: const Icon(Icons.add),
onPressed: () {
PetListMessageChannel.addPetDetails(
PetDetails(
petType: petType,
breed: breedTextController.text,
),
PetDetails(petType: petType, breed: breedTextController.text),
);
context.pop();
},
)
),
],
),
body: Padding(
padding: const EdgeInsets.all(8.0),
child: Column(
children: [
const SizedBox(
height: 8,
),
const SizedBox(height: 8),
TextField(
controller: breedTextController,
decoration: const InputDecoration(
@@ -58,9 +53,7 @@ class _AddPetDetailsState extends State<AddPetDetails> {
labelText: 'Breed',
),
),
const SizedBox(
height: 8,
),
const SizedBox(height: 8),
RadioListTile<String>(
title: const Text('Dog'),
value: 'Dog',