예를들어, 특정 변수가 true이면 성공 버튼을 보여주고 false 일 때는 실패 버튼을 보여주고 싶다면, Column( children: [ SizedBox( height: 100, width: _width, child: Container( color: Colors.amber, child: Text("결과 성공여부 = ${(arg.isWin ? "성공" : "실패")}, 시간"), ), ), (arg.isWin) ? CupertinoButton( child: Text("성공"), color: Color.fromARGB(255, 59, 121, 255), onPressed: () { showSnackbar(context, '성공했습니다.'); }) : CupertinoButton( child: Text(..