You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.0 KiB
Dart
35 lines
1.0 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_internals/demo_buttons.dart';
|
|
|
|
class UIUpdatesDemo extends StatelessWidget {
|
|
const UIUpdatesDemo({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
print('UIUpdatesDemo BUILD called');
|
|
return Padding(
|
|
padding: const EdgeInsets.all(8.0),
|
|
child: Center(
|
|
child: Column(
|
|
mainAxisSize: MainAxisSize.min,
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
children: const [
|
|
Text(
|
|
'Every Flutter developer should have a basic understanding of Flutter\'s internals!',
|
|
textAlign: TextAlign.center,
|
|
style: TextStyle(fontWeight: FontWeight.bold),
|
|
),
|
|
SizedBox(height: 16),
|
|
Text(
|
|
'Do you understand how Flutter updates UIs?',
|
|
textAlign: TextAlign.center,
|
|
),
|
|
SizedBox(height: 24),
|
|
Expanded(child: DemoButtons(),),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|