Answers for "materialstateproperty color"

1

materialstateproperty color

ElevatedButton(
          style: ButtonStyle(
          backgroundColor: MaterialStateProperty.all(Colors.amberAccent)),
          onPressed: () {},
          child: const Text(
            "Hover Me",
            style: TextStyle(
              fontSize: 20,
            ),
          ),
        ),
Posted by: Guest on December-03-2021

Code answers related to "Dart"

Browse Popular Code Answers by Language