From e8575a3a964c14f631165a4a12991784fc941444 Mon Sep 17 00:00:00 2001 From: Michael Charles Aubrey Date: Fri, 29 Dec 2023 10:56:12 +0900 Subject: [PATCH] slight proof reading of readme --- README.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e410e28..12490b7 100644 --- a/README.md +++ b/README.md @@ -172,11 +172,9 @@ You can use a `ClayAnimatedContainer` to create animations in the same way as yo ![Very animated. Much cool.](https://res.cloudinary.com/mca62511/image/upload/c_scale,h_300,w_300/v1579847878/animated_rktpdo.gif) - - ### Theming -You asked for it, you got it. Now you can specify your Clay Container's properties high up in your widget tree and that theme will apply to every Clay container you create under that `ClayTheme`. Simply introduce the `ClayTheme` anywhere in your widget tree and pass it a `ClayThemeData` to it's `themeData` property +You asked for it, you got it. Now you can specify your clay container's properties high up in your widget tree and that theme will apply to every `ClayContainer` you create under that `ClayTheme`. Simply introduce the `ClayTheme` anywhere in your widget tree and pass it a `ClayThemeData` to it's `themeData` property. ```dart ClayTheme( @@ -191,11 +189,11 @@ ClayTheme( ); ``` -Now any `ClayWidget` that is an ancestor of this `ClayTheme` will inherit it's theme. +Now any clay widget that is a child of this `ClayTheme` will inherit it's theme. -Also notice the `ClayTextTheme` which will handle the theme of your `ClayText`. +Also note that `ClayTextTheme` will handle the theme of your `ClayText`. -You can override any of these properties to give a specific `ClayWidget` custom theming. Simply give that property a value when you create it. +You can override any of these properties to give a specific clay widget custom theming. Simply give that property a value when you create it. ```dart ClayTheme( @@ -224,8 +222,6 @@ Both the `ClayThemeData` and the `ClayTextTheme` have only one default value color: const Color(0xFFf0f0f0); ``` - - ### Full API Documentation #### `ClayContainer`