728x90 전체 글565 animated dialog in Flutter https://medium.flutterdevs.com/animate-dialogs-in-flutter-b7cac136e1d3 Animate Dialogs In Flutter A dialog resembles a popup window to give a few alternatives to users(options like acknowledging/decay) medium.flutterdevs.com scale animation을 쓰면 좀 자연스러운 UX를 제공할 수 있을 것 같아서 사용해보기로 했다. 써봤는데 잘 동작하지만 종료 후에 애니메이션 자국이 남는다 (그림자인 것 같음).. 결국 그냥 Get.dialog로 불러오기로 했다.. 2022. 10. 27. Key를 사용하여 다른 widget function 사용하기 https://stackoverflow.com/questions/51029655/call-method-in-one-stateful-widget-from-another-stateful-widget-flutter call method in one stateful widget from another stateful widget - Flutter I have a flutter project that I am working on I can't put the whole code cause its more than 500 lines of code so I will try to ask my question as simply as I acn using the imp. section of the code... stacko.. 2022. 10. 27. flutter widget 달력 만들기(1) 달력 위젯이 있겠지만, 뭔가 활용도를 높이려면 직접 만드는 게 편하다. 있는 위젯을 사용하면 처음 만들기는 편한데 나중에 없는 기능을 끌어다 쓰고 끌어다쓰고 하는 게 힘들다.. import 'package:flutter/material.dart'; import 'package:get/get.dart'; import '../../../constants/logger.dart'; import '../../../tools/time_tools.dart'; class CalendarWidget extends StatefulWidget { CalendarWidget({Key? key}) : super(key: key); @override State createState() => _CalendarWidgetState(.. 2022. 10. 26. count days of month in flutter int countDayOfMonth(DateTime dateTime) { return DateTime.utc(dateTime.year, dateTime.month + 1, 0).day; } 아주 쉽다. 다음달에서 0일 (이번달의 마지막 날) int로 하면 됨 2022. 10. 26. 이전 1 ··· 77 78 79 80 81 82 83 ··· 142 다음 728x90