본문 바로가기
728x90

분류 전체보기561

flutter text gradient text 를 gradient로 작성해야하는 상황이 있었다. https://stackoverflow.com/questions/51686868/gradient-text-in-flutter Gradient Text in Flutter I was wondering if it is possible to create a gradient over text Flutter. There is a gist of text gradient using Dart's ui, but it is kinda long and I was hoping to be simpler. stackoverflow.com 2023. 6. 27.
LabeledCheckbox -> CheckTileList CheckTileList 를 사용할 때마다 문제점이 생기는데, 이렇게 사용하면 문제 될 일이 없어보인다. https://api.flutter-io.cn/flutter/material/CheckboxListTile-class.html CheckboxListTile class - material library - Dart API A ListTile with a Checkbox. In other words, a checkbox with a label. The entire list tile is interactive: tapping anywhere in the tile toggles the checkbox. The value, onChanged, activeColor and checkColor propertie.. 2023. 6. 23.
Custom TabBar(1) - Text TabBar class CustomTabBar extends StatefulWidget { const CustomTabBar({required this.tabString, required this.onChanged, Key? key}) : super(key: key); final List tabString; final ValueChanged onChanged; @override State createState() => _CustomTabBarState(); } class _CustomTabBarState extends State { int tabIndex = 0; @override Widget build(BuildContext context) { return Row( mainAxisAlignment: MainAxis.. 2023. 6. 23.
flutter getx controller instance 새로 만들기, Getx 를 사용하면서 페이지를 새로 만들 때가 종종 있는데 그 때 controller를 희안하게 만들어줬던 기억이 많다. Get.create를 한 번 사용해보자 Get.create(() => CartGetBuilderItemController()); https://www.youtube.com/watch?v=spNThdCajS0&list=PLGJ958IePUyDQwYbPcz-5W9o4p1__20V0&index=12 2023. 6. 22.
728x90