cupertino_container 1.0.0 cupertino_container: ^1.0.0 copied to clipboard
Cupertino Container Flutter Package
Cupertino Container #
Cupertino container package lets you add a container with cupertino rounded corners to your Flutter app.
Installation #
- Add the latest version of package to your pubspec.yaml (and run
dart pub get
):
dependencies:
cupertino_container: ^1.0.0
- Import the package and use it in your Flutter App.
import 'package:cupertino_container/cupertino_container.dart';
Example #
There are a number of properties that you can modify:
- radius
- child
- decoration
- margin
- padding
- onPressed
- height
- width
|
Next Goals #
- ✅
Add onPressed for functions. Now, you can specify the onPressed and specify a function.
- ✅
Change other attributes of CupertinoContainer. Change
margin
,padding
and other properties. - ❌
Add more containers to the package.