@@ -113,7 +113,7 @@ You can style a button based on its state using `WidgetStateProperty`.
113113{% render "docs/code-and-image.md",
114114image:"fwe/user-input/ElevatedButton.webp",
115115caption: "This figure shows an ElevatedButton with the text \" Enabled\" being clicked."
116- alt: "A GIF of an elevated button with the text \" Enabled\" "
116+ alt: "A GIF of an elevated button with the text ' Enabled' "
117117code:"
118118``` dart
119119int count = 0;
@@ -254,7 +254,7 @@ The class supports other configurable properties, such as
254254{% render "docs/code-and-image.md",
255255image:"fwe/user-input/TextField.webp",
256256caption: "This figure shows text being typed into a TextField with a selected border and label."
257- alt: "A GIF of a text field with the label \" Mascot Name\" , purple focus border and the phrase \" Dash the hummingbird\" being typed in."
257+ alt: "A GIF of a text field with the label ' Mascot Name' , purple focus border and the phrase ' Dash the hummingbird' being typed in."
258258code:"
259259``` dart
260260final TextEditingController _controller = TextEditingController();
@@ -910,9 +910,9 @@ so don't forget to await the asynchronous function call!
910910{% render "docs/code-and-image.md",
911911image:"fwe/user-input/DatePicker.webp",
912912caption: "This figure shows a DatePicker that is displayed when the
913- \" Pick a date\" button is clicked."
914- alt: "A GIF of a pointer clicking a button that says \" Pick a date\" ,
915- then shows a date picker. The date Friday, August 30 is selected and the \" OK \"
913+ ' Pick a date' button is clicked."
914+ alt: "A GIF of a pointer clicking a button that says ' Pick a date' ,
915+ then shows a date picker. The date Friday, August 30 is selected and the 'OK'
916916button is clicked."
917917code:"
918918``` dart
@@ -925,7 +925,7 @@ Widget build(BuildContext context) {
925925 return Column(children: [
926926 Text(
927927 date == null
928- ? \" You haven\'t picked a date yet.\"
928+ ? ' You haven\'t picked a date yet.'
929929 : DateFormat('MM-dd-yyyy').format(date),
930930 ),
931931 ElevatedButton.icon(
@@ -961,10 +961,10 @@ Once again, don't forget to await the function call!
961961{% render "docs/code-and-image.md",
962962image:"fwe/user-input/TimePicker.webp",
963963caption: "This figure shows a TimePicker that is displayed when the
964- \" Pick a time\" button is clicked."
965- alt: "A GIF of a pointer clicking a button that says \" Pick a time\" , then shows
964+ ' Pick a time' button is clicked."
965+ alt: "A GIF of a pointer clicking a button that says ' Pick a time' , then shows
966966 a time picker. The time picker shows a circular clock as the cursor moves the
967- hour hand, then minute hand, selects PM, then the \" OK \" button is clicked."
967+ hour hand, then minute hand, selects PM, then the 'OK' button is clicked."
968968code:"
969969``` dart
970970TimeOfDay? selectedTime;
@@ -975,7 +975,7 @@ Widget build(BuildContext context) {
975975
976976 return Column(children: [
977977 Text(
978- time == null ? \" You haven't picked a time yet.\" : time.format(context),
978+ time == null ? ' You haven\ 't picked a time yet.' : time.format(context),
979979 ),
980980 ElevatedButton.icon(
981981 icon: const Icon(Icons.calendar_today),
0 commit comments