Trace: • REST Services • Welcome to your new DokuWiki • REST API Filter • HowTos • VisionX Logging • Sort Combobox • First JVx Application (Step by Step) • Enterprise Resource Planning (ERP) • Video converter • Using darkmode
If you want to build a different widget tree in dark mode, just do following:
screenBuilder: (context, screen) => Container( decoration: BoxDecoration( image: DecorationImage( fit: BoxFit.fill, image: AssetImage( Theme.of(context).brightness == Brightness.light ? 'assets/images/background.png' : 'assets/images/background_dark.png', ), ), ),
