NiceContainers
- Add the latest version of package to your pubspec.yaml (and run
dart pub get
):
dependencies:
nice_containers: ^0.0.1
- Import the package and use it in your Flutter App.
import 'package:nice_containers/nice_containers.dart';
Features
Modify your Container !
class MainPage extends StatefulWidget {
const MainPage({super.key});
@override
State<MainPage> createState() => _MainPageState();
}
class _MainPageState extends State<MainPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: NiceContainers(
text: 'Hello',
color1: 'your color',
color2: 'your color'
)
)
);
}
}