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 :: string compare in c 
C :: lazer codechef 
C :: fread condition 
C :: resize vm boot disk with empty space 
C :: how to use arry 
C :: + ********************* 
C :: snake spielen 
C :: arma 3 nearest terrain objects 
C :: declaration of arrays 
C :: increase size of array in c 
C :: in C char to string 
C :: printf("%d", 10 ? 0 ? 5:1:1:12) what will print 
C :: write to console c 
C :: babel customelement plugins 
Dart :: flutter appbar remove debug 
Dart :: elevated button size flutter 
Dart :: Waiting for another flutter command to release the startup lock... 
Dart :: flutter textfield rounded 
Dart :: change hint text color flutter 
Dart :: detect os in flutter 
Dart :: borderradius.only flutter 
Dart :: flutter await http.get timeout 
Dart :: send null icon flutter 
Dart :: flutter animated container 
Dart :: how to style a text button in flutter 
Dart :: flutter listtile 
Dart :: create a validator in flutter 
Dart :: flutter datetime add year 
Dart :: dart variable in string 
Dart :: flutter delete file 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =