Skip to content

Instantly share code, notes, and snippets.

@tetujin
Last active December 11, 2021 16:03
Show Gist options
  • Save tetujin/6acd67a82b7b7f5d91c0a4a994603c80 to your computer and use it in GitHub Desktop.
Save tetujin/6acd67a82b7b7f5d91c0a4a994603c80 to your computer and use it in GitHub Desktop.
import 'package:flutter/material.dart';
void main() {
runApp(
Center(
child: Column(
// mainAxisAlignment: MainAxisAlignment.center,
children: const [
/// Text 1
Text(
'Hello, world!',
textDirection: TextDirection.ltr,
style: TextStyle(
color: Colors.blue,
fontSize: 20,
fontWeight: FontWeight.bold,
),
),
// Text 2
Text(
"hello all",
textDirection: TextDirection.ltr,
),
],
),
),
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment