SpecialButton.premade2 constructor

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

    Implementation

    factory SpecialButton.premade2(
            {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, 93, 170),
            antiShadow: const Color.fromARGB(189, 240, 29, 120),
            antiColors: const <Color>[
              Color.fromARGB(255, 216, 53, 178),
              Color.fromARGB(255, 206, 54, 110)
            ],
            onPressed: onPressed,
            colors: const <Color>[
              Color.fromARGB(255, 49, 95, 174),
              Color.fromARGB(255, 81, 92, 162)
            ]);