import 'package:flutter/material.dart';

final Color darkBlue = Color.fromARGB(255, 18, 32, 47);

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData.dark().copyWith(scaffoldBackgroundColor: darkBlue),
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Center(
          child: MyWidget(),
        ),
      ),
    );
  }
}

class MyWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Wrap(
  spacing: 10, // yatay boşluk
  runSpacing: 50, // dikey boşluk
   //direction: Axis.vertical, // Dikey sırala
  children: <Widget>[
     Text('child 1'),
     Text('child 2'),
     Text('child 3'),
     Text('child 4'),
     Text('child 5'),
     Text('child 6'),
     Text('child 7'),
     Text('child 8'),
  ]
);
}
}
View Compiled
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.