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