We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df06f65 commit 3689b9eCopy full SHA for 3689b9e
example/relative_id.dart
@@ -23,29 +23,14 @@ class RelativeIdExample extends StatelessWidget {
23
centerTo: parent,
24
),
25
Container(
26
- color: Colors.green,
27
- child: const Text(
28
- 'Indeterminate badge size',
29
- style: TextStyle(
30
- color: Colors.black,
31
- fontSize: 20,
32
- ),
33
34
- ).applyConstraint(
35
- left: rId(0).right,
36
- bottom: rId(0).top,
37
- translate: const Offset(-0.5, 0.5),
38
- percentageTranslate: true,
39
40
- Container(
41
+ color: Colors.redAccent,
42
).applyConstraint(
43
width: 100,
44
height: 100,
45
left: rId(0).right,
46
right: rId(0).right,
47
- top: rId(0).bottom,
48
- bottom: rId(0).bottom,
+ top: rId(0).top,
+ bottom: rId(0).top,
49
)
50
],
51
0 commit comments