This repository was archived by the owner on Oct 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
packages/self_storing_input/lib/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class _CustomCheckboxState extends State<CustomCheckbox> {
4141 void _showOverlay () {
4242 widget.state.overlayController.close ();
4343 _overlay = _buildOverlay (context);
44- Overlay .of (context)! .insert (_overlay! );
44+ Overlay .of (context).insert (_overlay! );
4545 }
4646
4747 void _closeOverlay () {
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ class CustomRadio extends StatelessWidget {
5454 void _showOverlay (BuildContext context) {
5555 state! .closeOverlay ();
5656 state! .overlay = _buildOverlay (context);
57- Overlay .of (context)! .insert (state! .overlay! );
57+ Overlay .of (context).insert (state! .overlay! );
5858 }
5959
6060 OverlayEntry _buildOverlay (BuildContext context) {
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ class _EditButtonState extends State<EditButton> {
4242 onPressed: () {
4343 widget.state.overlayController.close ();
4444 _overlay = _buildOverlay (context);
45- Overlay .of (context)! .insert (_overlay! );
45+ Overlay .of (context).insert (_overlay! );
4646 },
4747 );
4848 }
You can’t perform that action at this time.
0 commit comments