Skip to content

Commit c8cc668

Browse files
author
hyobbb
committed
read me & license update
1 parent bab6139 commit c8cc668

File tree

3 files changed

+28
-3
lines changed

3 files changed

+28
-3
lines changed

LICENSE

+11-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1-
TODO: Add your license here.
1+
Copyright <2021> <HYOBIN YANG>
2+
3+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4+
5+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
6+
7+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8+
9+
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
10+
11+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

+16-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,22 @@ dependencies:
1313
1414
on use,
1515
16-
`import 'package:chatty_widget/chatty_widget.dart';`
16+
17+
```dart
18+
import 'package:chatty_widget/chatty_widget.dart';
19+
20+
ChattyWidget(
21+
child: Icon(Icons.add),
22+
text: 'This is Add Icon',
23+
textStyle: TextStyle(color: Colors.white),
24+
textBoxColor: Colors.black,
25+
chatBoxLocation: BoxLocation.Top,
26+
chatBoxWidth: 100,
27+
onTap: () {
28+
print('do something');
29+
},
30+
)
31+
```
1732

1833

1934
## Demo

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: chatty_widget
22
description: A Flutter widget that shows message on tap.
33
version: 0.0.1
44
author: Hyobin Yang <[email protected]>
5-
homepage: https://github.com/hyobbb/table_calendar
5+
homepage: https://github.com/hyobbb/chatty_widget
66

77

88
environment:

0 commit comments

Comments
 (0)