feat: update user
This commit is contained in:
@@ -7,17 +7,20 @@ class AppElevatedButton extends StatelessWidget {
|
||||
required this.isLoading,
|
||||
required this.onPressed,
|
||||
this.height = 50,
|
||||
this.width = double.infinity,
|
||||
});
|
||||
|
||||
final String text;
|
||||
final bool isLoading;
|
||||
final Function()? onPressed;
|
||||
final double height;
|
||||
final double width;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Container(
|
||||
height: height,
|
||||
width: width,
|
||||
decoration: BoxDecoration(
|
||||
gradient: const LinearGradient(colors: AppColor.primaryGradient),
|
||||
borderRadius: BorderRadius.circular(AppValue.radius),
|
||||
|
||||
Reference in New Issue
Block a user