weather_widget 1.0.6 weather_widget: ^1.0.6 copied to clipboard
Simple weather related controls can be freely combined to form a variety of weather dynamic effects background, or can be used as the background effect of app
import 'package:flutter/material.dart';
import 'package:weather_widget/WeatherWidget.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: WeatherWidget(
size: Size.infinite,
weather: 'Thunder',
thunderConfig:ThunderConfig(
thunderWidth:12
)
)
);
}
}