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

Gredient_containers Flutter Package

example/lib/main.dart

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

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const HomeScreen(),
    );
  }
}

class HomeScreen extends StatelessWidget {
  const HomeScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
          child: GredientContainer(
        title: "Hello World",
        titleStyle: const TextStyle(color: Colors.white),
      )),
    );
  }
}
2
likes
140
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

Gredient_containers Flutter Package

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on gredient_containers