You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any widget that you create with rounded corners may then be provided as the child of a new Foil widget.
Consider
returnFoil(
child:SizedBox(
width:300,
height:300,
child:DecoratedBox(
decoration:BoxDecoration(
// there has to be *something* with which to mask the Foil
color:Colors.black,
borderRadius:BorderRadius.circular(25),
),
),
),
);
or even
returnFoil(
child:Text(
'🔴', // red circle emoji
style:constTextStyle(fontSize:200),
),
);
If the red circle emoji does not appear in the above code, the referenced character is 🔴.
I wrote this comment on mobile without verifying the code.
Is there a way I can provide border radius or alter the shape of Foil widget?
The text was updated successfully, but these errors were encountered: