Merge pull request #24 from goposse/al-1.2.1

Update to 1.2.1
This commit is contained in:
Albert Lardizabal 2017-10-17 10:06:54 -04:00 committed by GitHub
commit 00c84ad423
4 changed files with 5 additions and 5 deletions

View File

@ -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:

View File

@ -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 {

View File

@ -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;

View File

@ -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