import 'dart:io'; import 'package:flutter/material.dart'; /// A custom button that scales down when tapped/held on (sorta like a real button). class Button extends StatefulWidget { final Color? color; final bool fill; final EdgeInsets padding; final double? fontSize; final Widget? icon; final Function()? onPressed; final Widget child; const Button({ Key? key, this.color, this.fill = false, this.padding = const EdgeInsets.symmetric(vertical: 15.0, horizontal: 10.0), this.fontSize, this.icon, required this.onPressed, required this.child, }) : super(key: key); @override State