Skip to content

Commit

Permalink
Commit from GitHub Actions (Forui Presubmit)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pante committed Jun 18, 2024
1 parent 809dfd7 commit 44fe523
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
5 changes: 2 additions & 3 deletions forui/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,15 @@ class _ExampleWidgetState extends State<ExampleWidget> {
padding: style.content.padding,
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text('Are you absolutely sure?', style: contentStyle.title.scale(typography)),
SizedBox(
const SizedBox(
height: 10,
),
Text(
'This action cannot be undone. This will permanently delete your account and remove your data from our servers.',
style: contentStyle.subtitle.scale(typography), textAlign: TextAlign.center,),
SizedBox(
const SizedBox(
height: 18,
),
LayoutBuilder(
Expand Down
3 changes: 2 additions & 1 deletion forui/lib/src/theme/color_scheme.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';

import 'package:forui/forui.dart';
import 'package:meta/meta.dart';

import 'package:forui/forui.dart';

/// A set of colors that is part of a [FThemeData]. It is used to configure the color properties of Forui widgets.
///
/// These properties are not used directly by Forui widgets. Instead, they are the defaults for the corresponding colors
Expand Down
4 changes: 3 additions & 1 deletion forui/lib/src/theme/style.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'package:forui/forui.dart';

import 'package:meta/meta.dart';

import 'package:forui/forui.dart';

/// A set of miscellaneous properties that is part of a [FThemeData].
///
/// These properties are not used directly by Forui widgets. Instead, they are the defaults for the corresponding
Expand Down
2 changes: 1 addition & 1 deletion forui/lib/src/theme/theme.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';

import 'package:forui/forui.dart';
import 'package:meta/meta.dart';

import 'package:forui/forui.dart';

/// Applies a theme to descendant widgets.
///
Expand Down
3 changes: 2 additions & 1 deletion forui/lib/src/theme/theme_data.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/rendering.dart';

import 'package:forui/forui.dart';
import 'package:meta/meta.dart';

import 'package:forui/forui.dart';

/// Defines the configuration of the overall visual [FTheme] for a widget subtree.
///
/// A [FThemeData] is composed of [colorScheme], [typography], [style], and widget styles.
Expand Down
3 changes: 2 additions & 1 deletion forui/lib/src/theme/typography.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';

import 'package:forui/forui.dart';
import 'package:meta/meta.dart';

import 'package:forui/forui.dart';

// TODO: replace with nullable number operations in Sugar 4.
double? _scale(double? value, double factor) => value == null ? null : value * factor;

Expand Down

0 comments on commit 44fe523

Please sign in to comment.