Skip to content

Commit 65621fb

Browse files
committed
fix broken render directives due to escaped quotes
1 parent 5dd6b02 commit 65621fb

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/content/get-started/fundamentals/user-input.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ You can style a button based on its state using `WidgetStateProperty`.
113113
{% render "docs/code-and-image.md",
114114
image:"fwe/user-input/ElevatedButton.webp",
115115
caption: "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'"
117117
code:"
118118
```dart
119119
int count = 0;
@@ -254,7 +254,7 @@ The class supports other configurable properties, such as
254254
{% render "docs/code-and-image.md",
255255
image:"fwe/user-input/TextField.webp",
256256
caption: "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."
258258
code:"
259259
```dart
260260
final TextEditingController _controller = TextEditingController();
@@ -910,9 +910,9 @@ so don't forget to await the asynchronous function call!
910910
{% render "docs/code-and-image.md",
911911
image:"fwe/user-input/DatePicker.webp",
912912
caption: "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'
916916
button is clicked."
917917
code:"
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",
962962
image:"fwe/user-input/TimePicker.webp",
963963
caption: "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."
968968
code:"
969969
```dart
970970
TimeOfDay? 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

Comments
 (0)