-
Notifications
You must be signed in to change notification settings - Fork 5
/
main.dart
42 lines (36 loc) · 1.11 KB
/
main.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import 'package:flutter/material.dart';
import 'package:flutter_loan_calculator/flutter_loan_calculator.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
debugShowCheckedModeBanner: false,
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: MyHomePage(),
);
}
}
class MyHomePage extends StatefulWidget {
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
String description = "When you want to buy a house, you can find a suitable residence or"
"through the X application of consumer loan rates"
"by comparing your loan application on a single page"
"you can easily.";
@override
Widget build(BuildContext context) {
return PaymentGenerator(
description: description,
selectedTabLabelColor: Colors.green,
unselectedTabLabelColor: Colors.grey,
unselectedTabBorderColor: Colors.grey,
selectedTabBorderColor: Colors.purple,
);
}
}