flutter_modern_background 0.0.1 copy "flutter_modern_background: ^0.0.1" to clipboard
flutter_modern_background: ^0.0.1 copied to clipboard

Modern backgrounds for flutter apps

Moving Dots #

Modern background for flutter apps

Preview #

Install #

Add this line to pubspec.yaml

dependencies:
     moving_dots: ^0.0.2

Import #

import 'package:moving_dots/moving_dots.dart';

Usage #

class _HomePageState extends State<HomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        child: MovingDots(),
      ),
    );
  }
}

You can control the colors of the dots, the lines and the background too!

class _HomePageState extends State<HomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        child: MovingDots(
             dotColor: Colors.red,
             lineColor: Colors.amber,
             bgColor:   Colors.grey
            ),
      ),
    );
  }
}

Size is also optional

class _HomePageState extends State<HomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        child: MovingDots(
             dotColor: Colors.white,
             lineColor: Colors.amber,
             bgColor:   Colors.grey
             size: Size(400, 400),
            ),
      ),
    );
  }
}

License #

MIT

0
likes
10
pub points
0%
popularity

Publisher

unverified uploader

Modern backgrounds for flutter apps

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_modern_background