Skip to content

Commit eb9b602

Browse files
committed
docs: proofreading
1 parent 3454cba commit eb9b602

File tree

4 files changed

+40
-43
lines changed

4 files changed

+40
-43
lines changed

docs/features/ios-lock-screen.mdx

+7-10
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ description: Create Widgets for the iOS Lock Screen
55

66
# iOS Lock Screen Widgets
77

8-
On iOS Lock Screen Widgets are a great way to show information to your Users without them having to unlock their device.
8+
On iOS, Lock Screen Widgets are a great way to show information to your users without them having to unlock their device.
99

10-
<!-- cspell: disable -->>
10+
<!-- cspell: disable -->
1111
<center>
1212
<Image width="500px" src="/assets/lockscreen.webp"/>
1313
</center>
14-
<!-- cspell: enable -->>
14+
<!-- cspell: enable -->
1515

1616
## Supported Families
17-
Technically this works by adding another `family` to your Widgets configuration.
17+
Technically, this works by adding another `family` to your widget's configuration.
1818

1919
```swift
2020
var body: some WidgetConfiguration {
@@ -30,7 +30,7 @@ var body: some WidgetConfiguration {
3030
3131
## Adjust Layout
3232
33-
To adjust the layout of the Widget you can check which Family/Size is currently requested in the Widget's layout code
33+
To adjust the layout of the widget, you can check which family/size is currently requested in the widget's layout code.
3434
3535
```swift
3636
struct LockScreenWidgetView: View {
@@ -49,9 +49,6 @@ struct LockScreenWidgetView: View {
4949
}
5050
```
5151
52+
For more information on accessory widgets, check out the [official Apple Documentation](https://developer.apple.com/design/human-interface-guidelines/widgets#Interface-design).
5253
53-
For more Information on Accessory Widgets check out the [official Apple Documentation](https://developer.apple.com/design/human-interface-guidelines/widgets#Interface-design)
54-
55-
Also a full guide on how to add a Lock Screen Widget using home_widget can be found in this [article](https://medium.com/@ABausG/ios-lockscreen-widgets-with-flutter-and-home-widget-0dfecc18cfa0).
56-
57-
54+
A full guide on how to add a Lock Screen Widget using home_widget can also be found in this [article](https://medium.com/@ABausG/ios-lockscreen-widgets-with-flutter-and-home-widget-0dfecc18cfa0).

docs/features/pin-widget.mdx

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
title: Pin Widgets (Android)
3-
description: Use Pin Widget to add Widgets directly to the HomeScreen on Android
3+
description: Use Pin Widget to add widgets directly to the HomeScreen on Android.
44
---
55

66
# Pin Widgets
77

8-
On Android you can initiate an action to pin a widget to the HomeScreen meaning your Users can directly add your Widget to their HomeScreen.
8+
On Android, you can initiate an action to pin a widget to the HomeScreen, allowing your users to directly add your widget to their HomeScreen.
99

10-
<!-- cspell: disable -->>
10+
<!-- cspell: disable -->
1111
<center>
1212
<Image width="500px" src="/assets/pin-widget.gif"/>
1313
</center>
14-
<!-- cspell: enable -->>
14+
<!-- cspell: enable -->
1515

1616
```dart
1717
HomeWidget.requestPinWidget(
@@ -21,7 +21,7 @@ HomeWidget.requestPinWidget(
2121
);
2222
```
2323

24-
This method is only supported on [Android, API 26+](https://developer.android.com/develop/ui/views/appwidgets/configuration#pin).
24+
This method is only supported on [Android API 26+](https://developer.android.com/develop/ui/views/appwidgets/configuration#pin).
2525
If you want to check whether it is supported on the current device, use:
2626

2727
```dart

docs/index.mdx

+12-12
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ next: /usage/sync-data
66

77
# home_widget
88

9-
HomeWidget is a Plugin to make it easier to create HomeScreen Widgets on Android and iOS.
10-
HomeWidget does **not** allow writing Widgets with Flutter itself. It still requires writing the Widgets with native code. However, it provides a unified Interface for sending data, retrieving data and updating the Widgets
9+
HomeWidget is a plugin to make it easier to create HomeScreen widgets on Android and iOS.
10+
HomeWidget does **not** allow writing widgets with Flutter itself. It still requires writing the widgets with native code. However, it provides a unified interface for sending data, retrieving data, and updating the widgets.
1111

1212
<div align="center" class="justify-center flex">
1313
<a href="https://pub.dartlang.org/packages/home_widget"><img alt="Pub" src="https://img.shields.io/pub/v/home_widget.svg"/></a>
@@ -25,32 +25,32 @@ HomeWidget does **not** allow writing Widgets with Flutter itself. It still requ
2525

2626
## Getting Started
2727

28-
To get started with home_widget take a look at the following Documentation Pages
28+
To get started with home_widget, take a look at the following documentation pages:
2929

30-
- [Usage](/usage) - How to use home_widget in Flutter. This includes how to send data to the Widget, how to update the Widget and how to read data from the Widget.
31-
- [iOS Setup](/setup/ios) - Setup home_widget on iOS for your Flutter App
32-
- [Android Setup](/setup/android) - Setup home_widget on Android for your Flutter App
30+
- [Usage](/usage/sync-data) - How to use home_widget in Flutter. This includes how to send data to the Widget, how to update the widget, and how to read data from the widget
31+
- [iOS Setup](/setup/ios) - Set up home_widget on iOS for your Flutter App
32+
- [Android Setup](/setup/android) - Set up home_widget on Android for your Flutter App
3333
- Browse the various Feature entries to learn more about the capabilities of home_widget
3434

3535
## Contributing
3636

3737
Contributions are welcome!
38-
Here is how you can help.
39-
- Report Bugs and request Features via [Github Issues](https://github.com/ABausG/home_widget/issues)
40-
- Engage in Discussions and help Users solve there problems/questions in the [Discussions](https://github.com/ABausG/home_widget/discussions)
41-
- Fix typos/grammar mistakes
38+
Here is how you can help:
39+
- Report bugs and request features via [GitHub Issues](https://github.com/ABausG/home_widget/issues)
40+
- Engage in discussions and help users solve their problems/questions in the [Discussions](https://github.com/ABausG/home_widget/discussions)
41+
- Fix typos and grammar mistakes
4242
- Update the documentation
4343
- Implement new features by making a pull-request
4444

4545

4646
## Show your Widgets
4747

48-
Have you added HomeScreen Widgets to your App? Feel free to share them in the [Github Discussions](https://github.com/ABausG/home_widget/discussions/categories/show-and-tell)
48+
Have you added HomeScreen Widgets to your App? Feel free to share them in the [GitHub Discussions](https://github.com/ABausG/home_widget/discussions/categories/show-and-tell)
4949

5050

5151
## Sponsors
5252

53-
I develop this package in my free time. If you or your Company benefits from home_widget it would mean a lot to me if you consider supporting me on [Github Sponsors](https://github.com/sponsors/abausg)
53+
I develop this package in my free time. If you or your company benefits from home_widget, it would mean a lot to me if you considered supporting me on [GitHub Sponsors](https://github.com/sponsors/abausg).
5454
<p align="center">
5555
<a href="https://github.com/ABausG/sponsorkit/blob/main/sponsorkit/sponsors.svg">
5656
<img alt="Github Sponsors of ABausG" src="https://raw.githubusercontent.com/ABausG/sponsorkit/main/sponsorkit/sponsors.svg"/>

packages/home_widget/README.md

+16-16
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,37 @@
66
[![pub points](https://img.shields.io/pub/points/home_widget)](https://pub.dev/packages/home_widget/score)
77
[![Build](https://github.com/abausg/home_widget/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/ABausG/home_widget/actions/workflows/main.yml?query=branch%3Amain)
88
[![codecov](https://codecov.io/gh/ABausG/home_widget/branch/main/graph/badge.svg?token=ZXTZOL6KFO)](https://codecov.io/gh/ABausG/home_widget)
9-
[![Github-sponsors](https://img.shields.io/badge/Sponsor-30363D?style=flat&logo=GitHub-Sponsors&logoColor=#EA4AAA)](https://github.com/sponsors/abausg)
9+
[![GitHub-sponsors](https://img.shields.io/badge/Sponsor-30363D?style=flat&logo=GitHub-Sponsors&logoColor=#EA4AAA)](https://github.com/sponsors/abausg)
1010

11-
HomeWidget is a Plugin to make it easier to create HomeScreen Widgets on Android and iOS.
12-
HomeWidget does **not** allow writing Widgets with Flutter itself. It still requires writing the Widgets with native code. However, it provides a unified Interface for sending data, retrieving data and updating the Widgets
11+
HomeWidget is a plugin to make it easier to create HomeScreen Widgets on Android and iOS.
12+
HomeWidget does **not** allow writing Widgets with Flutter itself. It still requires writing the Widgets with native code. However, it provides a unified interface for sending data, retrieving data, and updating the Widgets.
1313

1414
| iOS |  Android |
1515
|----------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------|
1616
| <img src="https://github.com/ABausG/home_widget/blob/main/.github/assets/demo_ios.png?raw=true" width="500px"> | <img src="https://github.com/ABausG/home_widget/blob/main/.github/assets/demo_android.png?raw=true" width="500px"> |
1717

1818
## Features
19-
- Help setting up Widget on the native side
20-
- Send Data from Flutter to the HomeScreenWidget and Update them
21-
- Render and Display Flutter Widgets on HomeScreen Widgets
22-
- Interactive Widgets that call Dart Code
19+
- Help setting up widgets on the native side
20+
- Send data from Flutter to the HomeScreen widget and update them
21+
- Render and display Flutter widgets on HomeScreen widgets
22+
- Interactive widgets that call Dart Code
2323

2424
## Documentation
2525
Check out the [documentation](https://docs.page/abausg/home_widget) to learn how to setup home_widget and HomeScreen Widgets on your desired Platforms.
2626

2727
## Usage
28-
Once you wrote your Widgets on the native Side it is super easy to send Data to the Widget and update it
28+
Once you wrote your Widgets on the native side, it is super easy to send data to the Widget and update it.
2929

3030
### Save Data
3131

32-
In order to save Data call
32+
To save data, call:
3333
```dart
3434
HomeWidget.saveWidgetData<String>('id', data);
3535
```
3636

3737
### Update Widget
3838

39-
In order to initiate a reload of the HomeScreenWidget you need to call
39+
To initiate a reload of the Home Screen Widget, you need to call:
4040
```dart
4141
HomeWidget.updateWidget(
4242
name: 'HomeWidgetExampleProvider',
@@ -46,20 +46,20 @@ HomeWidget.updateWidget(
4646
## Contributing
4747

4848
Contributions are welcome!
49-
Here is how you can help.
50-
- Report Bugs and request Features via [Github Issues](https://github.com/ABausG/home_widget/issues)
51-
- Engage in Discussions and help Users solve there problems/questions in the [Discussions](https://github.com/ABausG/home_widget/discussions)
52-
- Fix typos/grammar mistakes
49+
Here is how you can help:
50+
- Report bugs and request features via [GitHub Issues](https://github.com/ABausG/home_widget/issues)
51+
- Engage in discussions and help users solve their problems/questions in the [Discussions](https://github.com/ABausG/home_widget/discussions)
52+
- Fix typos and grammar mistakes
5353
- Update the documentation
5454
- Implement new features by making a pull-request
5555

5656
## Show your Widgets
5757

58-
Have you added HomeScreen Widgets to your App? Feel free to share them in the [Github Discussions](https://github.com/ABausG/home_widget/discussions/categories/show-and-tell)
58+
Have you added HomeScreen widgets to your App? Feel free to share them in the [GitHub Discussions](https://github.com/ABausG/home_widget/discussions/categories/show-and-tell)
5959

6060
## Sponsors
6161

62-
I develop this package in my free time. If you or your Company benefits from home_widget it would mean a lot to me if you consider supporting me on [Github Sponsors](https://github.com/sponsors/abausg)
62+
I develop this package in my free time. If you or your company benefits from home_widget, it would mean a lot to me if you considered supporting me on [GitHub Sponsors](https://github.com/sponsors/abausg)
6363
<p align="center">
6464
<a href="https://github.com/ABausG/sponsorkit/blob/main/sponsorkit/sponsors.svg">
6565
<img alt="Github Sponsors of ABausG" src="https://raw.githubusercontent.com/ABausG/sponsorkit/main/sponsorkit/sponsors.svg"/>

0 commit comments

Comments
 (0)