Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

implementation of the theme from libadwaita.

inspired by the yaru theme for flutter.

usage

import 'package:flutter/material.dart';
import 'package:adwaita/adwaita.dart' as adwaita;

void main() => runapp(myapp());

class myapp extends statelesswidget {
  final valuenotifier<thememode> themenotifier = valuenotifier(thememode.light);

  myapp({key? key}) : super(key: key);

  @override
  widget build(buildcontext context) {
    return valuelistenablebuilder<thememode>(
        valuelistenable: themenotifier,
        builder: (_, thememode currentmode, __) {
          return materialapp(
              theme: adwaita.lighttheme,
              darktheme: adwaita.darktheme,
              debugshowcheckedmodebanner: false,
              home: myhomepage(themenotifier: themenotifier),
              thememode: currentmode);
        });
  }
}

Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Top