Browse Source

Merge pull request #24 from goposse/al-1.2.1

Update to 1.2.1
Albert Lardizabal 8 years ago
parent
commit
00c84ad423
4 changed files with 5 additions and 5 deletions
  1. 2 2
      README.md
  2. 1 1
      example/lib/components/app/app_component.dart
  3. 1 1
      lib/src/router.dart
  4. 1 1
      pubspec.yaml

+ 2 - 2
README.md

@@ -3,7 +3,7 @@
 
 The brightest, hippest, coolest router for Flutter.
 
-[![Version](https://img.shields.io/badge/version-1.1.0-blue.svg)](https://pub.dartlang.org/packages/fluro)
+[![Version](https://img.shields.io/badge/version-1.2.1-blue.svg)](https://pub.dartlang.org/packages/fluro)
 [![Build Status](https://travis-ci.org/goposse/fluro.svg?branch=master)](https://travis-ci.org/goposse/fluro)
 [![Coverage](https://codecov.io/gh/goposse/fluro/branch/master/graph/badge.svg)](https://codecov.io/gh/goposse/fluro)
 
@@ -40,7 +40,7 @@ var usersHandler = new Handler(handlerFunc: (BuildContext context, Map<String, d
 You should ensure that you add the router as a dependency in your flutter project.
 ```yaml
 dependencies:
- fluro: "^1.1.0"
+ fluro: "^1.2.1"
 ```
 
 You can also reference the git repo directly if you want:

+ 1 - 1
example/lib/components/app/app_component.dart

@@ -9,8 +9,8 @@ import '../../config/application.dart';
 import 'package:flutter/material.dart';
 import 'package:flutter/services.dart';
 import 'package:fluro/fluro.dart';
-import '../home/home_component.dart';
 import '../../config/routes.dart';
+import '../home/home_component.dart';
 
 class AppComponent extends StatefulWidget {
 

+ 1 - 1
lib/src/router.dart

@@ -128,7 +128,7 @@ class Router {
         Offset startOffset = bottomLeft;
         Offset endOffset = topLeft;
         if (transitionType == TransitionType.inFromLeft) {
-          startOffset = new Offset(-1.0, 0.0);
+          startOffset = const Offset(-1.0, 0.0);
           endOffset = topLeft;
         } else if (transitionType == TransitionType.inFromRight) {
           startOffset = topRight;

+ 1 - 1
pubspec.yaml

@@ -1,6 +1,6 @@
 name: fluro
 description: The brightest, hippest, coolest router for Flutter.
-version: 1.2.0
+version: 1.2.1
 author: Posse Productions LLC <apps@goposse.com>
 homepage: https://github.com/goposse/fluro