πΎ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class DarkTransition extends StatefulWidget { | |
const DarkTransition( | |
{required this.childBuilder, | |
Key? key, | |
this.offset = Offset.zero, | |
this.themeController, | |
this.radius, | |
this.duration = const Duration(milliseconds: 400), | |
this.isDark = false}) | |
: super(key: key); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:flutter/animation.dart'; | |
void main() => runApp(AppHome()); | |
class AppHome extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
debugShowCheckedModeBanner: false, |