weather_animation 1.0.1 copy "weather_animation: ^1.0.1" to clipboard
weather_animation: ^1.0.1 copied to clipboard

The package contains beautiful weather animations. Easy setup with the weather configurator!

example/example.dart

// Copy this code into your project and run

import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:weather_animation/weather_animation.dart';

void main() => runApp(const ExampleApp());

class ExampleApp extends StatelessWidget {
  const ExampleApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'Weather animation package - example',
      debugShowCheckedModeBanner: false,
      home: HomePage(),
    );
  }
}

class HomePage extends StatelessWidget {
  const HomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: ScrollConfiguration(
        behavior: ScrollConfiguration.of(context).copyWith(
          dragDevices: {
            PointerDeviceKind.touch,
            PointerDeviceKind.mouse,
          },
        ),
        child: PageView(
          children: [for (final w in WeatherScene.values) w.sceneWidget],
        ),
      ),
    );
  }
}
67
likes
120
pub points
81%
popularity
screenshot

Publisher

unverified uploader

The package contains beautiful weather animations. Easy setup with the weather configurator!

Homepage
Repository (GitHub)
View/report issues

Topics

#weather #animation #ui #widgets #with-playground

Documentation

API reference

Funding

Consider supporting this project:

t.me

License

Apache-2.0 (LICENSE)

Dependencies

flutter, freezed_annotation, json_annotation

More

Packages that depend on weather_animation