Search
 
SCRIPT & CODE EXAMPLE
 

DART

flutter border around textbutton

OutlinedButton(
  onPressed: null,
  style: ButtonStyle(
    shape: MaterialStateProperty.all(
      RoundedRectangleBorder(
      	borderRadius: BorderRadius.circular(30.0),
      )
	),
  ),
  child: const Text("Button text"),
);
Comment

flutter: TextButton widget has border Circle

// TextButton has border circle not use Container()
TextButton(
  child: const Icon(
    Icons.play_circle,
    size: 55,
    color: Colors.white,
  ),
  style: TextButton.styleFrom(
    padding: const EdgeInsets.all(0),
    shape: CircleBorder(
      side: BorderSide(width: 8, color: Colors.blue.withOpacity(0.3)),
    ),
  ),
  onPressed: () {},
),
Comment

PREVIOUS NEXT
Code Example
Dart :: make a rounded container flutte 
Dart :: flutter positioned center horizontally 
Dart :: reverse srring in dart 
Dart :: flutter flotingactionbutton color 
Dart :: flutter insecure http is not allowed by platform 
Dart :: showdialog with builder flutter 
Dart :: open link with button flutter 
Dart :: flutter remove status bar 
Dart :: detect os in flutter 
Dart :: dart absolute value 
Dart :: flutter absorbpointer 
Dart :: trailing flutter with 2 icons flutter 
Dart :: flutter button with icon 
Dart :: velocity x circle 
Dart :: flutter dropdownbutton enum 
Dart :: flutter print line char limit 
Dart :: dart convert int string leading zeros 
Dart :: flutter tooltip padding 
Dart :: dart regex for url 
Dart :: flutter capture image from camera 
Dart :: flutter status bar color 
Dart :: what is final and const verabile in flutter 
Dart :: images with text in it flutter 
Dart :: convert string to list in dart 
Dart :: Flutter(Dart) Find String Length 
Dart :: how to remove leading in flutter 
Dart :: dart int double 
Dart :: snackbar in flutter 
Dart :: phone authentication firebase flutter 
Dart :: price discount cross flutter text 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =