Instantly share code, notes, and snippets.

Embed
What would you like to do?
class SliderCircle extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
width: circleSizeAdapted(context),
height: circleSizeAdapted(context),
decoration: BoxDecoration(
color: Theme.of(context).primaryColor,
shape: BoxShape.circle,
),
child: Icon(
Icons.unfold_more,
color: Colors.white,
size: 0.6 * circleSizeAdapted(context),
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment