TextButton CameraOpeningButton() {
return TextButton(
onPressed: () {
initCamera();
},
child: Image(
image: AssetImage('assets/SVG/CameraButton.png'),
height: 70,
width: 70,
),
);
}
}
This image represents what happens when the button is clicked. A blue animation comes till the button is clicked. And I want to remove it.
2
Answers
try this
EDIT:
to make the button circular use this code:
Add this code snippet inside your
TextButton
instance