Skip to content

Commit

Permalink
prepared for 0.0.8 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Amonc committed May 28, 2024
1 parent a9e8ecb commit ffc558b
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.0.7
## 0.0.8

* Gradient Colors, TextStyles and Line Decoration updated to the Crossword Widget
* Added Option to control over drawing or not when incorrect words in the crossword (addIncorrectWord: true)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ a [dependency in your pubspec.yaml file](https://flutter.io/using-packages/).

```yaml
dependencies:
crossword: ^0.0.7
crossword: ^0.0.8
```
Import the package in your Dart code and instantiate the `Crossword` widget.
Expand Down
14 changes: 11 additions & 3 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,20 @@ class _GamePageState extends State<GamePage> {
spacing: const Offset(30, 30),
onLineDrawn: (List<String> words) {},
textStyle: const TextStyle(
color: Colors.black, fontSize: 16, fontWeight: FontWeight.bold),
color: Colors.blue, fontSize: 16, fontWeight: FontWeight.bold),
lineDecoration: const LineDecoration(
lineGradientColors: [
[Colors.blue, Colors.black, Colors.red],
[Colors.orange, Colors.black],
[
Colors.blue,
Colors.black,
Colors.red,
Colors.orange,
Colors.black,
Colors.amber,
Colors.green
],
],
incorrectGradientColors: [Colors.red, Colors.black],
strokeWidth: 26,
lineTextStyle: TextStyle(
color: Colors.white, fontSize: 16, fontWeight: FontWeight.bold),
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.0.7"
version: "0.0.8"
cupertino_icons:
dependency: "direct main"
description:
Expand Down
3 changes: 0 additions & 3 deletions lib/crossword.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,3 @@ export 'components/line_painter.dart';
export 'components/word_line.dart';
export 'helper/extensions.dart';
export 'components/crossword_panel.dart';



2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: crossword
description: A Flutter package providing a user interface for solving crossword puzzles in your app.
version: 0.0.7
version: 0.0.8
homepage: https://github.com/Amonc/crossword

environment:
Expand Down

0 comments on commit ffc558b

Please sign in to comment.