début du cours
This commit is contained in:
25
TP1/helloworld/lib/main.dart
Normal file
25
TP1/helloworld/lib/main.dart
Normal file
@@ -0,0 +1,25 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
void main() {
|
||||
runApp(
|
||||
Center(
|
||||
child: Text(
|
||||
'Hello, world !',
|
||||
textDirection: TextDirection.ltr,
|
||||
style: TextStyle(
|
||||
fontWeight: FontWeight.bold,
|
||||
fontStyle: FontStyle.italic,
|
||||
fontSize: 50,
|
||||
foreground: Paint()
|
||||
..color = const Color(0xffA8CBFD)
|
||||
..strokeWidth = 2
|
||||
..style = PaintingStyle.stroke,
|
||||
decoration: TextDecoration.underline,
|
||||
decorationColor: Colors.red,
|
||||
decorationStyle: TextDecorationStyle.wavy,
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user