Search
 
SCRIPT & CODE EXAMPLE
 

C

Futter Square Button

style: ButtonStyle(
  shape: MaterialStateProperty.all<RoundedRectangleBorder>(
    RoundedRectangleBorder(
      borderRadius: BorderRadius.zero,
      side: BorderSide(color: Colors.red)
    )
  )
)
Comment

Futter Square Button full

Row(
  mainAxisAlignment: MainAxisAlignment.end,
  children: [
    TextButton(
      child: Text(
        "Add to cart".toUpperCase(),
        style: TextStyle(fontSize: 14)
      ),
      style: ButtonStyle(
        padding: MaterialStateProperty.all<EdgeInsets>(EdgeInsets.all(15)),
        foregroundColor: MaterialStateProperty.all<Color>(Colors.red),
        shape: MaterialStateProperty.all<RoundedRectangleBorder>(
          RoundedRectangleBorder(
            borderRadius: BorderRadius.circular(18.0),
            side: BorderSide(color: Colors.red)
          )
        )
      ),
      onPressed: () => null
    ),
    SizedBox(width: 10),
    ElevatedButton(
      child: Text(
        "Buy now".toUpperCase(),
        style: TextStyle(fontSize: 14)
      ),
      style: ButtonStyle(
        foregroundColor: MaterialStateProperty.all<Color>(Colors.white),
        backgroundColor: MaterialStateProperty.all<Color>(Colors.red),
        shape: MaterialStateProperty.all<RoundedRectangleBorder>(
          RoundedRectangleBorder(
            borderRadius: BorderRadius.zero,
            side: BorderSide(color: Colors.red)
          )
        )
      ),
      onPressed: () => null
    )
  ]
)

Comment

PREVIOUS NEXT
Code Example
C :: stdio 
C :: c check if character is a digit 
C :: get range of values in mongodb 
C :: redirect to url page asp.net mvc 
C :: pg_restore: error: input file appears to be a text format dump. Please use psql. 
C :: list c 
C :: fopen function in c 
C :: install tweaks ubuntu 
C :: c if else 
C :: array value from user c 
C :: gcc options to find out makefiel rules 
C :: c check if array is empty 
C :: double array in c 
C :: convert int to char in c 
C :: Fibonacci Series Program. in c 
C :: houdini vex loop over points 
C :: malloc contiguous 2d array 
C :: malloc basics 
C :: add to beginning of array c 
C :: set the nth bit 
C :: maximo comun divisor 
C :: empiler une pile on c 
C :: sleep in c 
C :: c pause for 1 second 
C :: c command line arguments parser 
C :: declare and initialize a string in C 
C :: use frama c online 
C :: swap using third variable 
C :: how to belu-roll peoples in c 
C :: how to change the mapping from jkil to wasd in vim 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =