Added comments
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
import 'package:cabo_counter/core/custom_theme.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
/// A customizable button widget using Cupertino style.
|
||||
///
|
||||
/// Displays a button with a child widget and optional callback.
|
||||
/// The button uses a medium size, rounded corners, and a custom background color.
|
||||
class CustomButton extends StatelessWidget {
|
||||
final Widget child;
|
||||
final VoidCallback? onPressed;
|
||||
|
||||
Reference in New Issue
Block a user