flutter_theme_manager 0.0.1
flutter_theme_manager: ^0.0.1 copied to clipboard
We Provide light and dark theme in very simple way.
TODO: Control your light and dark theme in very simple way.
Features #
TODO: Package handle Day & Night(light & Dark) theme.
Getting started #
TODO: List prerequisites and provide or point to information on how to start using the package.
Usage #
TODO:void main() { runApp(const MyApp()); }
class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return themeBlocProvider(home:Home(),debugShowCheckedModeBanner: true ); } }
return Scaffold( appBar: AppBar( backgroundColor: AppTheme.theme(context: context, lightTheme: Colors.red, darkTheme: Colors.blue), title: Text( "AppBar", style: TextStyle( color: AppTheme.theme( context: context, darkTheme: Colors.black, lightTheme: Colors.red)), ), actions: [ InkWell( child: Center( child: Text( "theme ", style: TextStyle( color: AppTheme.theme( context: context, darkTheme: Colors.white, lightTheme: Colors.black)), )), onTap: () { context.read
);
.
const like = 'sample';
Additional information #
TODO: Through use this package you can pass your theme in very simple way by passing the light and dark color on same time.