mirrored_repositories/Tracker/lib
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class CardPopupActionButton extends StatelessWidget {
  final void Function() onPressed;
  final List<Widget> children;
  const CardPopupActionButton(
      {Key key, @required this.children, this.onPressed})
      : super(key: key);

  @override
  Widget build(BuildContext context) {
    return CupertinoButton(
      onPressed: onPressed,
      child: Row(
          mainAxisSize: MainAxisSize.max,
          mainAxisAlignment: MainAxisAlignment.center,
          children: children),
    );
  }
}
