>

한 화면에 여러 그리드 레이아웃


  • 답변 # 1

    와이즈 비즈   ListView 와 함께  안에, 그리고 GridViews 를 잊지 마세요   shrinkWrap 에 대한 진실

    GridViews
    
    
    class MultipleGridView extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( body: ListView( children: <Widget>[ Text("Title 1"), GridView.builder( physics: NeverScrollableScrollPhysics(), shrinkWrap: true, gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( crossAxisCount: 5, crossAxisSpacing: 5.0, mainAxisSpacing: 5.0, ), itemCount: 10, itemBuilder: (context, index) { return Container( color: Colors.blue, child: Text("index: $index"), ); }, ), Text("Title 2"), GridView.builder( physics: NeverScrollableScrollPhysics(), shrinkWrap: true, gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( crossAxisCount: 5, crossAxisSpacing: 5.0, mainAxisSpacing: 5.0, ), itemCount: 10, itemBuilder: (context, index) { return Container( color: Colors.blue, child: Text("index: $index"), ); }, ), Text("Title 3"), GridView.builder( physics: NeverScrollableScrollPhysics(), shrinkWrap: true, gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( crossAxisCount: 5, crossAxisSpacing: 5.0, mainAxisSpacing: 5.0, ), itemCount: 10, itemBuilder: (context, index) { return Container( color: Colors.blue, child: Text("index: $index"), ); }, ), Text("Title 4"), GridView.builder( physics: NeverScrollableScrollPhysics(), shrinkWrap: true, gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( crossAxisCount: 5, crossAxisSpacing: 5.0, mainAxisSpacing: 5.0, ), itemCount: 10, itemBuilder: (context, index) { return Container( color: Colors.blue, child: Text("index: $index"), ); }, ) ], ), ); } }

  • 이전 regex - Oauth0 로그인을 위해 jmeter를 통한 성능 테스트
  • 다음 latitude longitude - 동일한 반경 내에있는 GPS 좌표 필터링