part of 'button.dart'; class AppElevatedButton extends StatelessWidget { const AppElevatedButton({ super.key, required this.onPressed, required this.title, this.width = double.infinity, this.height = 48.0, }); final Function()? onPressed; final String title; final double width; final double height; @override Widget build(BuildContext context) { return SizedBox( width: width, height: height, child: ElevatedButton( onPressed: onPressed, child: Text( title, style: AppStyle.lg.copyWith( color: AppColor.white, fontWeight: FontWeight.w700, ), ), ), ); } }