sky_background 0.1.2 copy "sky_background: ^0.1.2" to clipboard
sky_background: ^0.1.2 copied to clipboard

The sky is beautiful! Now you can transfer a piece of the sky to your application using this library.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:sky_background/sky_background.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        body: SkyBackground(
      child: Center(
        child: Text(
          'Widget',
          style: TextStyle(fontSize: 24, fontWeight: FontWeight.bold),
        ),
      ),
    ));
  }
}
4
likes
40
pub points
0%
popularity

Publisher

unverified uploader

The sky is beautiful! Now you can transfer a piece of the sky to your application using this library.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on sky_background