mirrored_repositories/architecture-template/lib/product/widget
import 'package:clean_architecture/product/utility/constants/project_radius.dart';
import 'package:flutter/material.dart';

/// radius is 20
final class NormalButton extends StatelessWidget {
  ///
  const NormalButton({
    required this.title,
    required this.onPressed,
    super.key,
  });

  /// title text
  final String title;

  /// button on pressed
  final VoidCallback onPressed;

  @override
  Widget build(BuildContext context) {
    return InkWell(
      /// todo:
      radius: ProjectRadius.normal.value,
      onTap: onPressed,
      child: Text(title),
    );
  }
}
