This commit was merged in pull request #132.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:gap/gap.dart';
|
||||
import 'package:wyatt_ui_kit_example/cards/information_card/information_cards.dart';
|
||||
|
||||
class Cards extends StatelessWidget {
|
||||
const Cards({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => ListView(
|
||||
shrinkWrap: true,
|
||||
Widget build(BuildContext context) => Column(
|
||||
children: [
|
||||
Text(
|
||||
'Cards',
|
||||
@@ -15,6 +15,7 @@ class Cards extends StatelessWidget {
|
||||
.titleLarge!
|
||||
.copyWith(color: Colors.white),
|
||||
),
|
||||
const Gap(20),
|
||||
const InformationCards(),
|
||||
],
|
||||
);
|
||||
|
||||
@@ -7,8 +7,7 @@ class InformationCards extends StatelessWidget {
|
||||
const InformationCards({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => ListView(
|
||||
shrinkWrap: true,
|
||||
Widget build(BuildContext context) => Column(
|
||||
children: [
|
||||
Text(
|
||||
'Information Cards',
|
||||
@@ -17,6 +16,7 @@ class InformationCards extends StatelessWidget {
|
||||
.titleMedium!
|
||||
.copyWith(color: Colors.white),
|
||||
),
|
||||
const Gap(20),
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
@@ -127,8 +127,8 @@ class InformationCards extends StatelessWidget {
|
||||
title: TextWrapper.text('Flutter'),
|
||||
subtitle: 'One single code base.'.wrap(
|
||||
gradient: [Colors.blue, Colors.green],
|
||||
style: TextStyle(
|
||||
fontWeight: FontWeight.bold,
|
||||
style: const TextStyle(
|
||||
fontWeight: FontWeight.w500,
|
||||
),
|
||||
),
|
||||
body: TextWrapper.text(
|
||||
|
||||
Reference in New Issue
Block a user