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.
22 lines
599 B
Dart
22 lines
599 B
Dart
import 'package:car_provider_app/classes/colors.dart';
|
|
import 'package:car_provider_app/extensions/string_extensions.dart';
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
Widget ViewAllWidget(String title, String subTitle) {
|
|
return Container(
|
|
width: double.infinity,
|
|
padding: const EdgeInsets.only(bottom: 10),
|
|
child: Row(
|
|
children: [
|
|
Expanded(child: title.toText16(isBold: true)),
|
|
subTitle.toText(
|
|
fontSize: 12,
|
|
isBold: true,
|
|
color: MyColors.primaryColor,
|
|
decoration: TextDecoration.underline,
|
|
)
|
|
],
|
|
),
|
|
);
|
|
}
|