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

outdated

A gradient scaffold flutter widget.

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
0
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