yaru_widgets 1.0.1 yaru_widgets: ^1.0.1 copied to clipboard
Common flutter widgets useful for building desktop and web applications.
import 'package:flutter/material.dart';
import 'package:yaru/yaru.dart';
import 'package:yaru_widgets_example/yaru_home.dart';
void main() {
runApp(Home());
}
class Home extends StatelessWidget {
const Home({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: yaruLight,
darkTheme: yaruDark,
home: const YaruHome(),
);
}
}