gradientscaffoldwidget 0.0.5 copy "gradientscaffoldwidget: ^0.0.5" to clipboard
gradientscaffoldwidget: ^0.0.5 copied to clipboard

A gradient scaffold flutter widget.

image

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

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext buildContext) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      theme: ThemeData.dark(),
      home: GradientScaffold(
        gradient: LinearGradient(
            begin: Alignment.topRight,
            end: Alignment.bottomLeft,
            colors: [Colors.red, Colors.purple]),
        scaffold: Scaffold(
          backgroundColor: Colors.transparent,
          appBar: AppBar(
            elevation: 0.0,
            backgroundColor: Colors.transparent,
            title: Text("Gradient Screen"),
          ),
          body: Center(
            child: Text("Hello Gradient World"),
          ),
        ),
      ),
    );
  }
}
3
likes
10
pub points
0%
popularity

Publisher

unverified uploader

A gradient scaffold flutter widget.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on gradientscaffoldwidget