Add theme switcher

This commit is contained in:
Ricardo Markiewicz
2020-01-21 12:44:09 -03:00
parent a05d2a8f48
commit d181afb606
21 changed files with 697 additions and 295 deletions
+14
View File
@@ -0,0 +1,14 @@
import 'package:flutter/material.dart';
class AddPageTransition extends PageRouteBuilder {
final Widget page;
AddPageTransition({this.page})
: super(
transitionDuration: Duration(microseconds: 1),
pageBuilder: (context, animation1, animation2) => page,
transitionsBuilder: (context, animation1, animation, child) => child);
@override
bool get opaque => false;
}