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

my first material container package

Material container package lets you add a beautiful gradient container to your Flutter app.

Features #

Getting started #

There are a number of properties that you can modify:

height width title subtitle gradient (color1 and color2)

Usage #

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: const MaterialScreenContainer(
          title: 'Hello World',
          color1: Colors.lightGreenAccent,
          color2: Colors.lightBlue,
          subtitle: 'This is a new package',
        ),
      ),
    );
  }
}

Additional information #

2
likes
120
pub points
0%
popularity

Publisher

unverified uploader

my first material container package

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on materialcontainerview