Skip to content

Commit

Permalink
docs: fixed the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
HofmannZ committed Aug 21, 2020
1 parent e2595c7 commit f61d900
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [1.1.0+1] - 20-08-2020.

- Fixed the examples in the docs.

## [1.1.0] - 20-08-2020.

- Added support to define both the `bannerColor` and `textColor`.
Expand Down
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@ void main() {
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return FlavorBanner(
textDirection: TextDirection.ltr,
child: MaterialApp(
home: Scaffold(
return MaterialApp(
home: FlavorBanner(
child: Scaffold(
body: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Expand Down Expand Up @@ -71,10 +70,9 @@ void main() {
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return FlavorBanner(
textDirection: TextDirection.ltr,
child: MaterialApp(
home: Scaffold(
return MaterialApp(
home: FlavorBanner(
child: Scaffold(
body: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Expand Down
14 changes: 6 additions & 8 deletions example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@ void main() {
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return FlavorBanner(
textDirection: TextDirection.ltr,
child: MaterialApp(
home: Scaffold(
return MaterialApp(
home: FlavorBanner(
child: Scaffold(
body: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Expand Down Expand Up @@ -67,10 +66,9 @@ void main() {
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return FlavorBanner(
textDirection: TextDirection.ltr,
child: MaterialApp(
home: Scaffold(
return MaterialApp(
home: FlavorBanner(
child: Scaffold(
body: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
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: flavor_config
description: An easy to use package for creating flavors for any environment.
version: 1.1.0
version: 1.1.0+1
homepage: https://github.com/zino-hofmann/flavor-config-flutter

environment:
Expand Down

0 comments on commit f61d900

Please sign in to comment.