File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
packages/self_storing_input/lib/src Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class _CustomCheckboxState extends State<CustomCheckbox> {
41
41
void _showOverlay () {
42
42
widget.state.overlayController.close ();
43
43
_overlay = _buildOverlay (context);
44
- Overlay .of (context)! .insert (_overlay! );
44
+ Overlay .of (context).insert (_overlay! );
45
45
}
46
46
47
47
void _closeOverlay () {
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ class CustomRadio extends StatelessWidget {
54
54
void _showOverlay (BuildContext context) {
55
55
state! .closeOverlay ();
56
56
state! .overlay = _buildOverlay (context);
57
- Overlay .of (context)! .insert (state! .overlay! );
57
+ Overlay .of (context).insert (state! .overlay! );
58
58
}
59
59
60
60
OverlayEntry _buildOverlay (BuildContext context) {
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ class _EditButtonState extends State<EditButton> {
42
42
onPressed: () {
43
43
widget.state.overlayController.close ();
44
44
_overlay = _buildOverlay (context);
45
- Overlay .of (context)! .insert (_overlay! );
45
+ Overlay .of (context).insert (_overlay! );
46
46
},
47
47
);
48
48
}
You can’t perform that action at this time.
0 commit comments