Skip to content

Commit

Permalink
build: update readme and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
davidanaya committed Apr 9, 2019
1 parent cbc3b55 commit ee5eacb
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [1.0.1] - 2019-04-09

- Update README.md in the example.

## [1.0.0] - 2019-04-08

- Initial release.
36 changes: 28 additions & 8 deletions example/README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,36 @@
# example

A new Flutter project.
A basic example on how to use the widget circular_slider in Flutter.

## Getting Started

This project is a starting point for a Flutter application.
```dart
import 'package:flutter/material.dart';
A few resources to get you started if this is your first Flutter project:
import 'package:flutter_circular_slider/flutter_circular_slider.dart';
- [Lab: Write your first Flutter app](https://flutter.io/docs/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://flutter.io/docs/cookbook)
void main() => runApp(MyApp());
For help getting started with Flutter, view our
[online documentation](https://flutter.io/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: MyHomePage(),
);
}
}
class MyHomePage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.blueGrey,
body: Center(
child: Container(child: CircularSlider(100, 0, 20)),
));
}
}
```
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.0.0"
version: "1.0.1"
flutter_test:
dependency: "direct dev"
description: flutter
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_circular_slider
description: A customizable widget to select intervals in a circular line.
version: 1.0.0
version: 1.0.1
author: David Anaya <[email protected]>
homepage: https://github.com/davidanaya/flutter-circular-slider
repository: https://github.com/davidanaya/flutter-circular-slider
Expand Down

0 comments on commit ee5eacb

Please sign in to comment.