Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

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: () {},
),
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #TextButton #widget #border #Circle
ADD COMMENT
Topic
Name
1+2 =