mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
18 lines
460 B
Dart
18 lines
460 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class TwoLineText extends StatelessWidget {
|
|
const TwoLineText({Key? key, required this.up, required this.down}) : super(key: key);
|
|
final String up;
|
|
final String down;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Column(
|
|
children: [
|
|
Text(up, style: const TextStyle(fontSize: 15),),
|
|
Text(down, style: const TextStyle(fontSize: 11),)
|
|
],
|
|
);
|
|
}
|
|
}
|