second commit

This commit is contained in:
Anbarasu
2026-05-27 10:35:09 +05:30
parent c53794c04c
commit 1435ac47b0
501 changed files with 52818 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
import 'package:flutter/material.dart';
import 'package:rounded_loading_button_plus/rounded_loading_button.dart';
import 'Constants/Colorconstants.dart';
class RoundedButton extends StatelessWidget {
const RoundedButton(
{Key? key,
required this.onPressed,
required this.title,
required this.color,
required this.height,
required this.width,
required this.controller,
required this.textStyle})
: super(key: key);
final VoidCallback onPressed;
final String title;
final Color color;
final double height;
final double width;
final RoundedLoadingButtonController controller;
final TextStyle textStyle;
@override
Widget build(BuildContext context) {
return InkWell(
onTap: () {},
child: Center(
child: RoundedLoadingButton(
height:height,
width: width,
color: color,
controller: controller,
onPressed: onPressed,
successColor: ColorConstants.primaryColor,
child: Text(
title,
style: textStyle,
))),
);
}
}