How to implement Dark mode and Light Mode in flutter?

Using Material App MaterialApp( title: ‘App Title’, theme: ThemeData( brightness: Brightness.light, /* light theme settings */ ), darkTheme: ThemeData( brightness: Brightness.dark, /* dark theme settings */ ), themeMode: ThemeMode.dark, /* ThemeMode.system to follow system theme, ThemeMode.light for light theme, ThemeMode.dark for dark theme */ debugShowCheckedModeBanner: false, home: YourAppHomepage(), ); Using CupertinoApp Detect the dark mode … Read more

How to edit default dark theme for Visual Studio Code?

In VS code ‘User Settings’, you can edit visible colours using the following tags (this is a sample and there are much more tags): “workbench.colorCustomizations”: { “list.inactiveSelectionBackground”: “#C5DEF0”, “sideBar.background”: “#F8F6F6”, “sideBar.foreground”: “#000000”, “editor.background”: “#FFFFFF”, “editor.foreground”: “#000000”, “sideBarSectionHeader.background”: “#CAC9C9”, “sideBarSectionHeader.foreground”: “#000000”, “activityBar.border”: “#FFFFFF”, “statusBar.background”: “#102F97”, “scrollbarSlider.activeBackground”: “#77D4CB”, “scrollbarSlider.hoverBackground”: “#8CE6DA”, “badge.background”: “#81CA91” } If you want to … Read more

MySQL Workbench Dark Theme

Here’s how to change MySQL Workbench’s colors (INCLUDING THE BACKGROUND COLOR). Open the XML file called code_editor.xml located in the data folder of the MySQL Workbench’s installation directory (usually C:\Program Files\MySQL\MySQL Workbench 6.3 CE\data). Here you’ll find a lot of styling for different code elements, but there are some missing. MySQL Workbench uses scintilla as … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)