1
This commit is contained in:
@@ -100,7 +100,11 @@ class _AvatarCardState extends State<AvatarCard> with SingleTickerProviderStateM
|
||||
borderRadius: BorderRadius.circular(3),
|
||||
border: Border.all(color: Colors.black, width: 1),
|
||||
),
|
||||
child: Text(_dialog, style: TextStyle(fontSize: 12)),
|
||||
child: Text(
|
||||
_dialog,
|
||||
style: TextStyle(fontSize: 12),
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
),
|
||||
Positioned(
|
||||
bottom: 0,
|
||||
@@ -200,11 +204,11 @@ class BothSizeTransition extends StatelessWidget {
|
||||
animation: animation,
|
||||
builder: (_, child) {
|
||||
return Align(
|
||||
alignment: Alignment(0.7, 1),
|
||||
alignment: Alignment(0.3, 1),
|
||||
child: Opacity(
|
||||
opacity: animation.value,
|
||||
child: Transform(
|
||||
alignment: Alignment(0.5, 1),
|
||||
alignment: Alignment(0, 1),
|
||||
transform: Matrix4.identity()
|
||||
..translate(
|
||||
offset.dx * (1 - animation.value),
|
||||
|
||||
Reference in New Issue
Block a user