Skip to content

Commit 042e741

Browse files
authored
Merge pull request #7 from sadobass/master
fix: Button text
2 parents 4fb80f1 + 6cbb226 commit 042e741

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

resources/docs/6.x/forms.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Widget view(BuildContext context) {
101101
body: SafeArea(
102102
child: NyForm(
103103
form: form,
104-
footer: Button.primary(child: "Submit", submitForm: (form, (data) {
104+
footer: Button.primary(text: "Submit", submitForm: (form, (data) {
105105
printInfo(data);
106106
}),
107107
),
@@ -984,4 +984,4 @@ NyForm(
984984
- The `loading` widget is only shown when the form is in a loading state.
985985
- The `onChanged` callback provides both the changed field name and the complete form data.
986986
- When `locked` is true, the form becomes non-interactive but still displays values.
987-
- `header` and `footer` widgets are optional and will only be displayed if provided.
987+
- `header` and `footer` widgets are optional and will only be displayed if provided.

resources/docs/6.x/logging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ int age = 18;
5252
5353
age.dump(); // 18
5454
55-
dunp(city); // London
55+
dump(city); // London
5656
```
5757

5858
#### Why use NyLogger?

0 commit comments

Comments
 (0)