zhi_starry_sky 0.0.1 zhi_starry_sky: ^0.0.1 copied to clipboard
Flutter Starry Sky Animation Widget.
import 'package:easy_dynamic_theme/easy_dynamic_theme.dart';
import 'package:flutter/material.dart';
import 'package:zhi_starry_sky_example/anim_view.dart';
void main() {
runApp(EasyDynamicThemeWidget(child: const MyApp()));
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData.light(),
darkTheme: ThemeData.dark(),
themeMode: EasyDynamicTheme.of(context).themeMode,
home: const AnimView(),
);
}
}