SpecialButton.premade1 constructor

SpecialButton.premade1(
  1. {required String label,
  2. required Widget icon,
  3. required void onPressed(
      ),
    1. bool shrinkWrap = true}
    )

    Implementation

    factory SpecialButton.premade1(
            {required String label,
            required Widget icon,
            required void Function() onPressed,
            bool shrinkWrap = true}) =>
        SpecialButton(
            beginAlign: Alignment.topLeft,
            endAlign: Alignment.bottomRight,
            antiBeginAlign: Alignment.topRight,
            antiEndAlign: Alignment.bottomLeft,
            shrinkwrap: shrinkWrap,
            label: Text(label,
                style: const TextStyle(
                    fontSize: 16,
                    fontWeight: FontWeight.bold,
                    color: Color(0xFFFFFFFF))),
            icon: icon,
            shadow: const Color.fromARGB(132, 65, 170, 107),
            antiShadow: const Color.fromARGB(190, 240, 53, 29),
            antiColors: const <Color>[
              Color.fromARGB(255, 216, 148, 53),
              Color.fromARGB(255, 209, 24, 24)
            ],
            onPressed: onPressed,
            colors: const <Color>[
              Color.fromARGB(255, 55, 125, 66),
              Color.fromARGB(255, 22, 102, 83)
            ]);