Generic container

Features

Gradient container

Getting started

import file include SafferContainer

Usage

import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:saffer_widgets/saffer_widgets.dart';

import '../controllers/home_controller.dart';

class HomeView extends GetView<HomeController> {
  const HomeView({Key? key}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('HomeView'),
        centerTitle: true,
      ),
      body: const Center(
        child: SafferContainer(
          color1: Colors.red,
          color2: Colors.black,
          title: "This is title",
          subtitle: "This is subtitle",
        ),
      ),
    );
  }
}

Additional information

Libraries

saffer_widgets