mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
26 lines
511 B
Dart
26 lines
511 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:toolbox/data/res/ui.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: textSize15,
|
|
),
|
|
Text(
|
|
down,
|
|
style: textSize11,
|
|
)
|
|
],
|
|
);
|
|
}
|
|
}
|