Answers for "change color ion button"

2

ion button color custom

ion-button{
  --background: #0869AE;
  --border-radius: 20px;
}
Posted by: Guest on August-18-2020
0

ElevatedButton change color

ElevatedButton(
      child: Text('Button'),
      onPressed: () {},
      style: ElevatedButton.styleFrom({
           Color primary, // set the background color 
           Color onPrimary, 
           Color onSurface, 
           Color shadowColor, 
           double elevation, 
           TextStyle textStyle, 
           EdgeInsetsGeometry padding, 
           Size minimumSize, 
           BorderSide side, 
           OutlinedBorder shape, 
           MouseCursor enabledMouseCursor, 
           MouseCursor disabledMouseCursor, 
           VisualDensity visualDensity, 
           MaterialTapTargetSize tapTargetSize, 
           Duration animationDuration, 
           bool enableFeedback
     }),
),
Posted by: Guest on May-12-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language