flutter elevated button radius
style: ButtonStyle(
shape: MaterialStateProperty.all<RoundedRectangleBorder>(
RoundedRectangleBorder(
borderRadius: BorderRadius.circular(18.0),
side: BorderSide(color: Colors.red)
)
)
)
flutter elevated button radius
style: ButtonStyle(
shape: MaterialStateProperty.all<RoundedRectangleBorder>(
RoundedRectangleBorder(
borderRadius: BorderRadius.circular(18.0),
side: BorderSide(color: Colors.red)
)
)
)
flutter floting action button elevation
// The value is always non-negative.
floatingActionButton: FloatingActionButton(
elevation: 6.0, // default elevation
highlightElevation: 12.0, //the elevation when the button is pressed.
hoverElevation: 8.0, // while they have a pointer hovering over them.
focusElevation: 8.0, // while they have focus.
disabledElevation: 0.0, //the elevation when the button is disabled.
onPressed: (){},
child: const Icon(Icons.add),
),
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us