Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

materialstateproperty

ElevatedButton(
          style: ButtonStyle(
          backgroundColor: MaterialStateProperty.all(Colors.amberAccent)),
          onPressed: () {},
          child: const Text(
            "Hover Me",
            style: TextStyle(
              fontSize: 20,
            ),
          ),
        ),
 
PREVIOUS NEXT
Tagged: #materialstateproperty
ADD COMMENT
Topic
Name
9+4 =