doc : RErrorWidget and EmptyWidget
This commit is contained in:
39
lib/presentation/pages/test/view.dart
Normal file
39
lib/presentation/pages/test/view.dart
Normal file
@@ -0,0 +1,39 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:rasadyar_core/core.dart';
|
||||
|
||||
import 'logic.dart';
|
||||
|
||||
class TestPage extends StatelessWidget {
|
||||
const TestPage({Key? key}) : super(key: key);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final TestLogic logic = Get.put(TestLogic());
|
||||
|
||||
return Scaffold(body: SafeArea(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(18.0),
|
||||
child: Column(children: [
|
||||
|
||||
Text('buildRow'),
|
||||
buildRow(
|
||||
title: "Test Row Item",
|
||||
value: "Value",
|
||||
titleLabel: "Title Label",
|
||||
valueLabel: "Value Label",
|
||||
titleLabelStyle: AppFonts.yekan14.copyWith(color: Colors.red),
|
||||
valueLabelStyle: AppFonts.yekan14.copyWith(color: Colors.blue),
|
||||
titleStyle: AppFonts.yekan16.copyWith(color: Colors.green),
|
||||
valueStyle: AppFonts.yekan16.copyWith(color: Colors.purple),
|
||||
),
|
||||
Divider(),
|
||||
|
||||
|
||||
|
||||
|
||||
]),
|
||||
),
|
||||
));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user