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 Dec 12, 2024
1 parent 33185c7 commit 6089c3a
Show file tree
Hide file tree
Showing 170 changed files with 193 additions and 296 deletions.
3 changes: 1 addition & 2 deletions forui/lib/src/foundation/focused_outline.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ import 'package:flutter/foundation.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart';

import 'package:meta/meta.dart';

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

/// An outline around a focused widget that does not affect its layout.
///
Expand Down
3 changes: 1 addition & 2 deletions forui/lib/src/foundation/tappable.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'package:flutter/widgets.dart';

import 'package:meta/meta.dart';

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

@internal
extension Touch on Never {
Expand Down
3 changes: 1 addition & 2 deletions forui/lib/src/localizations/localization.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import 'package:forui/forui.dart';
import 'package:intl/intl.dart';
import 'package:meta/meta.dart';

import 'package:forui/forui.dart';

/// Localizations for date and time formatting.
extension FDateTimeLocalizations on FLocalizations {
/// The first day of the week, in ISO 8601 style, where the first day of the week, i. e. index 1, is Monday.
Expand Down
4 changes: 2 additions & 2 deletions forui/lib/src/localizations/localizations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import 'dart:async';

import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';

import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:intl/intl.dart' as intl;

import 'package:forui/src/localizations/localization.dart';
import 'localizations_af.dart';
import 'localizations_am.dart';
import 'localizations_ar.dart';
Expand Down Expand Up @@ -145,7 +145,7 @@ abstract class FLocalizations {
final String localeName;

static FLocalizations of(BuildContext context) {
return Localizations.of<FLocalizations>(context, FLocalizations) ?? DefaultLocalizations();
return Localizations.of<FLocalizations>(context, FLocalizations)!;
}

static const LocalizationsDelegate<FLocalizations> delegate = _FLocalizationsDelegate();
Expand Down
2 changes: 1 addition & 1 deletion forui/lib/src/localizations/localizations_de.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class FLocalizationsDe extends FLocalizations {

/// The translations for German, as used in Switzerland (`de_CH`).
class FLocalizationsDeCh extends FLocalizationsDe {
FLocalizationsDeCh(): super('de_CH');
FLocalizationsDeCh() : super('de_CH');

@override
String get dialogLabel => 'Dialogfeld';
Expand Down
16 changes: 8 additions & 8 deletions forui/lib/src/localizations/localizations_en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class FLocalizationsEn extends FLocalizations {

/// The translations for English, as used in Australia (`en_AU`).
class FLocalizationsEnAu extends FLocalizationsEn {
FLocalizationsEnAu(): super('en_AU');
FLocalizationsEnAu() : super('en_AU');

@override
String get dialogLabel => 'Dialogue';
Expand All @@ -84,7 +84,7 @@ class FLocalizationsEnAu extends FLocalizationsEn {

/// The translations for English, as used in Canada (`en_CA`).
class FLocalizationsEnCa extends FLocalizationsEn {
FLocalizationsEnCa(): super('en_CA');
FLocalizationsEnCa() : super('en_CA');

@override
String get dialogLabel => 'Dialog';
Expand All @@ -103,7 +103,7 @@ class FLocalizationsEnCa extends FLocalizationsEn {

/// The translations for English, as used in the United Kingdom (`en_GB`).
class FLocalizationsEnGb extends FLocalizationsEn {
FLocalizationsEnGb(): super('en_GB');
FLocalizationsEnGb() : super('en_GB');

@override
String get dialogLabel => 'Dialogue';
Expand All @@ -122,7 +122,7 @@ class FLocalizationsEnGb extends FLocalizationsEn {

/// The translations for English, as used in Ireland (`en_IE`).
class FLocalizationsEnIe extends FLocalizationsEn {
FLocalizationsEnIe(): super('en_IE');
FLocalizationsEnIe() : super('en_IE');

@override
String get dialogLabel => 'Dialogue';
Expand All @@ -141,7 +141,7 @@ class FLocalizationsEnIe extends FLocalizationsEn {

/// The translations for English, as used in India (`en_IN`).
class FLocalizationsEnIn extends FLocalizationsEn {
FLocalizationsEnIn(): super('en_IN');
FLocalizationsEnIn() : super('en_IN');

@override
String get dialogLabel => 'Dialogue';
Expand All @@ -160,7 +160,7 @@ class FLocalizationsEnIn extends FLocalizationsEn {

/// The translations for English, as used in New Zealand (`en_NZ`).
class FLocalizationsEnNz extends FLocalizationsEn {
FLocalizationsEnNz(): super('en_NZ');
FLocalizationsEnNz() : super('en_NZ');

@override
String get dialogLabel => 'Dialogue';
Expand All @@ -179,7 +179,7 @@ class FLocalizationsEnNz extends FLocalizationsEn {

/// The translations for English, as used in Singapore (`en_SG`).
class FLocalizationsEnSg extends FLocalizationsEn {
FLocalizationsEnSg(): super('en_SG');
FLocalizationsEnSg() : super('en_SG');

@override
String get dialogLabel => 'Dialogue';
Expand All @@ -198,7 +198,7 @@ class FLocalizationsEnSg extends FLocalizationsEn {

/// The translations for English, as used in South Africa (`en_ZA`).
class FLocalizationsEnZa extends FLocalizationsEn {
FLocalizationsEnZa(): super('en_ZA');
FLocalizationsEnZa() : super('en_ZA');

@override
String get dialogLabel => 'Dialogue';
Expand Down
40 changes: 20 additions & 20 deletions forui/lib/src/localizations/localizations_es.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class FLocalizationsEs extends FLocalizations {

/// The translations for Spanish Castilian, as used in Latin America and the Caribbean (`es_419`).
class FLocalizationsEs419 extends FLocalizationsEs {
FLocalizationsEs419(): super('es_419');
FLocalizationsEs419() : super('es_419');

@override
String get dialogLabel => 'Diálogo';
Expand All @@ -84,7 +84,7 @@ class FLocalizationsEs419 extends FLocalizationsEs {

/// The translations for Spanish Castilian, as used in Argentina (`es_AR`).
class FLocalizationsEsAr extends FLocalizationsEs {
FLocalizationsEsAr(): super('es_AR');
FLocalizationsEsAr() : super('es_AR');

@override
String get dialogLabel => 'Diálogo';
Expand All @@ -103,7 +103,7 @@ class FLocalizationsEsAr extends FLocalizationsEs {

/// The translations for Spanish Castilian, as used in Bolivia (`es_BO`).
class FLocalizationsEsBo extends FLocalizationsEs {
FLocalizationsEsBo(): super('es_BO');
FLocalizationsEsBo() : super('es_BO');

@override
String get dialogLabel => 'Diálogo';
Expand All @@ -122,7 +122,7 @@ class FLocalizationsEsBo extends FLocalizationsEs {

/// The translations for Spanish Castilian, as used in Chile (`es_CL`).
class FLocalizationsEsCl extends FLocalizationsEs {
FLocalizationsEsCl(): super('es_CL');
FLocalizationsEsCl() : super('es_CL');

@override
String get dialogLabel => 'Diálogo';
Expand All @@ -141,7 +141,7 @@ class FLocalizationsEsCl extends FLocalizationsEs {

/// The translations for Spanish Castilian, as used in Colombia (`es_CO`).
class FLocalizationsEsCo extends FLocalizationsEs {
FLocalizationsEsCo(): super('es_CO');
FLocalizationsEsCo() : super('es_CO');

@override
String get dialogLabel => 'Diálogo';
Expand All @@ -160,7 +160,7 @@ class FLocalizationsEsCo extends FLocalizationsEs {

/// The translations for Spanish Castilian, as used in Costa Rica (`es_CR`).
class FLocalizationsEsCr extends FLocalizationsEs {
FLocalizationsEsCr(): super('es_CR');
FLocalizationsEsCr() : super('es_CR');

@override
String get dialogLabel => 'Diálogo';
Expand All @@ -179,7 +179,7 @@ class FLocalizationsEsCr extends FLocalizationsEs {

/// The translations for Spanish Castilian, as used in the Dominican Republic (`es_DO`).
class FLocalizationsEsDo extends FLocalizationsEs {
FLocalizationsEsDo(): super('es_DO');
FLocalizationsEsDo() : super('es_DO');

@override
String get dialogLabel => 'Diálogo';
Expand All @@ -198,7 +198,7 @@ class FLocalizationsEsDo extends FLocalizationsEs {

/// The translations for Spanish Castilian, as used in Ecuador (`es_EC`).
class FLocalizationsEsEc extends FLocalizationsEs {
FLocalizationsEsEc(): super('es_EC');
FLocalizationsEsEc() : super('es_EC');

@override
String get dialogLabel => 'Diálogo';
Expand All @@ -217,7 +217,7 @@ class FLocalizationsEsEc extends FLocalizationsEs {

/// The translations for Spanish Castilian, as used in Guatemala (`es_GT`).
class FLocalizationsEsGt extends FLocalizationsEs {
FLocalizationsEsGt(): super('es_GT');
FLocalizationsEsGt() : super('es_GT');

@override
String get dialogLabel => 'Diálogo';
Expand All @@ -236,7 +236,7 @@ class FLocalizationsEsGt extends FLocalizationsEs {

/// The translations for Spanish Castilian, as used in Honduras (`es_HN`).
class FLocalizationsEsHn extends FLocalizationsEs {
FLocalizationsEsHn(): super('es_HN');
FLocalizationsEsHn() : super('es_HN');

@override
String get dialogLabel => 'Diálogo';
Expand All @@ -255,7 +255,7 @@ class FLocalizationsEsHn extends FLocalizationsEs {

/// The translations for Spanish Castilian, as used in Mexico (`es_MX`).
class FLocalizationsEsMx extends FLocalizationsEs {
FLocalizationsEsMx(): super('es_MX');
FLocalizationsEsMx() : super('es_MX');

@override
String get dialogLabel => 'Diálogo';
Expand All @@ -274,7 +274,7 @@ class FLocalizationsEsMx extends FLocalizationsEs {

/// The translations for Spanish Castilian, as used in Nicaragua (`es_NI`).
class FLocalizationsEsNi extends FLocalizationsEs {
FLocalizationsEsNi(): super('es_NI');
FLocalizationsEsNi() : super('es_NI');

@override
String get dialogLabel => 'Diálogo';
Expand All @@ -293,7 +293,7 @@ class FLocalizationsEsNi extends FLocalizationsEs {

/// The translations for Spanish Castilian, as used in Panama (`es_PA`).
class FLocalizationsEsPa extends FLocalizationsEs {
FLocalizationsEsPa(): super('es_PA');
FLocalizationsEsPa() : super('es_PA');

@override
String get dialogLabel => 'Diálogo';
Expand All @@ -312,7 +312,7 @@ class FLocalizationsEsPa extends FLocalizationsEs {

/// The translations for Spanish Castilian, as used in Peru (`es_PE`).
class FLocalizationsEsPe extends FLocalizationsEs {
FLocalizationsEsPe(): super('es_PE');
FLocalizationsEsPe() : super('es_PE');

@override
String get dialogLabel => 'Diálogo';
Expand All @@ -331,7 +331,7 @@ class FLocalizationsEsPe extends FLocalizationsEs {

/// The translations for Spanish Castilian, as used in Puerto Rico (`es_PR`).
class FLocalizationsEsPr extends FLocalizationsEs {
FLocalizationsEsPr(): super('es_PR');
FLocalizationsEsPr() : super('es_PR');

@override
String get dialogLabel => 'Diálogo';
Expand All @@ -350,7 +350,7 @@ class FLocalizationsEsPr extends FLocalizationsEs {

/// The translations for Spanish Castilian, as used in Paraguay (`es_PY`).
class FLocalizationsEsPy extends FLocalizationsEs {
FLocalizationsEsPy(): super('es_PY');
FLocalizationsEsPy() : super('es_PY');

@override
String get dialogLabel => 'Diálogo';
Expand All @@ -369,7 +369,7 @@ class FLocalizationsEsPy extends FLocalizationsEs {

/// The translations for Spanish Castilian, as used in El Salvador (`es_SV`).
class FLocalizationsEsSv extends FLocalizationsEs {
FLocalizationsEsSv(): super('es_SV');
FLocalizationsEsSv() : super('es_SV');

@override
String get dialogLabel => 'Diálogo';
Expand All @@ -388,7 +388,7 @@ class FLocalizationsEsSv extends FLocalizationsEs {

/// The translations for Spanish Castilian, as used in the United States (`es_US`).
class FLocalizationsEsUs extends FLocalizationsEs {
FLocalizationsEsUs(): super('es_US');
FLocalizationsEsUs() : super('es_US');

@override
String get dialogLabel => 'Diálogo';
Expand All @@ -407,7 +407,7 @@ class FLocalizationsEsUs extends FLocalizationsEs {

/// The translations for Spanish Castilian, as used in Uruguay (`es_UY`).
class FLocalizationsEsUy extends FLocalizationsEs {
FLocalizationsEsUy(): super('es_UY');
FLocalizationsEsUy() : super('es_UY');

@override
String get dialogLabel => 'Diálogo';
Expand All @@ -426,7 +426,7 @@ class FLocalizationsEsUy extends FLocalizationsEs {

/// The translations for Spanish Castilian, as used in Venezuela (`es_VE`).
class FLocalizationsEsVe extends FLocalizationsEs {
FLocalizationsEsVe(): super('es_VE');
FLocalizationsEsVe() : super('es_VE');

@override
String get dialogLabel => 'Diálogo';
Expand Down
2 changes: 1 addition & 1 deletion forui/lib/src/localizations/localizations_fr.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class FLocalizationsFr extends FLocalizations {

/// The translations for French, as used in Canada (`fr_CA`).
class FLocalizationsFrCa extends FLocalizationsFr {
FLocalizationsFrCa(): super('fr_CA');
FLocalizationsFrCa() : super('fr_CA');

@override
String get dialogLabel => 'Boîte de dialogue';
Expand Down
2 changes: 1 addition & 1 deletion forui/lib/src/localizations/localizations_pt.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class FLocalizationsPt extends FLocalizations {

/// The translations for Portuguese, as used in Portugal (`pt_PT`).
class FLocalizationsPtPt extends FLocalizationsPt {
FLocalizationsPtPt(): super('pt_PT');
FLocalizationsPtPt() : super('pt_PT');

@override
String get dialogLabel => 'Caixa de diálogo';
Expand Down
2 changes: 1 addition & 1 deletion forui/lib/src/localizations/localizations_sr.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class FLocalizationsSr extends FLocalizations {

/// The translations for Serbian, using the Latin script (`sr_Latn`).
class FLocalizationsSrLatn extends FLocalizationsSr {
FLocalizationsSrLatn(): super('sr_Latn');
FLocalizationsSrLatn() : super('sr_Latn');

@override
String get dialogLabel => 'Dijalog';
Expand Down
4 changes: 2 additions & 2 deletions forui/lib/src/localizations/localizations_zh.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class FLocalizationsZh extends FLocalizations {

/// The translations for Chinese, as used in Hong Kong (`zh_HK`).
class FLocalizationsZhHk extends FLocalizationsZh {
FLocalizationsZhHk(): super('zh_HK');
FLocalizationsZhHk() : super('zh_HK');

@override
String get dialogLabel => '對話方塊';
Expand All @@ -84,7 +84,7 @@ class FLocalizationsZhHk extends FLocalizationsZh {

/// The translations for Chinese, as used in Taiwan (`zh_TW`).
class FLocalizationsZhTw extends FLocalizationsZh {
FLocalizationsZhTw(): super('zh_TW');
FLocalizationsZhTw() : super('zh_TW');

@override
String get dialogLabel => '對話方塊';
Expand Down
3 changes: 1 addition & 2 deletions forui/lib/src/theme/color_scheme.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';

import 'package:meta/meta.dart';

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

/// A set of colors that is part of a [FThemeData]. It is used to configure the color properties of Forui widgets.
///
Expand Down
3 changes: 1 addition & 2 deletions forui/lib/src/theme/form_field_style.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';

import 'package:meta/meta.dart';

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

/// A form field state's style.
class FFormFieldStyle with Diagnosticable {
Expand Down
3 changes: 1 addition & 2 deletions forui/lib/src/theme/style.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';

import 'package:meta/meta.dart';

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

/// A set of miscellaneous properties that is part of a [FThemeData].
///
Expand Down
Loading

0 comments on commit 6089c3a

Please sign in to comment.