flutter get widget width and height inside init state

前端 未结 0 777
-上瘾入骨i
-上瘾入骨i 2021-01-30 14:11

I have a widget with layout builder:

@override
Widget build(BuildContext context) {
  return LayoutBuilder(
    builder: (context, constraints) {

      return Tr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题