v1 release

This commit is contained in:
Sarthak Kimtani 2024-02-17 20:32:01 +05:30
commit cb24b68069
116 changed files with 4913 additions and 0 deletions

View file

@ -0,0 +1,27 @@
import "package:flutter/material.dart";
class ImageBanner extends StatelessWidget {
final String imgSrc;
final String text;
const ImageBanner({
Key? key,
required this.imgSrc,
required this.text,
}) : super(key: key);
@override
Widget build(BuildContext context) {
return Container(
alignment: Alignment.center,
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Image.asset(imgSrc, width: 250, height: 250),
const SizedBox(height: 10),
Text(text, style: Theme.of(context).textTheme.bodyLarge)
],
),
);
}
}