style(ui_kit): add macos platform in example
continuous-integration/drone/push Build is failing

This commit was merged in pull request #132.
This commit is contained in:
2023-02-10 14:19:32 +01:00
parent 5464cd1d40
commit a563bd1fe3
30 changed files with 1233 additions and 12 deletions
@@ -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(