fancy_containers 0.0.5 fancy_containers: ^0.0.5 copied to clipboard
Fancy Containers Flutter Package
import 'package:fancy_containers/fancy_containers.dart';
import 'package:flutter/material.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: FancyContainer(
title: "Hello World",
titleStyle: const TextStyle(color: Colors.white),
)),
);
}
}