feat : privacyPolicyWidget
This commit is contained in:
@@ -12,90 +12,90 @@ class AppFonts {
|
||||
static const FontWeight bold = FontWeight.w600;
|
||||
static const double _height = 1.20;
|
||||
|
||||
static const TextStyle yekan61 = TextStyle(
|
||||
static TextStyle yekan61 = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 61,
|
||||
fontSize: 61.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan49 = TextStyle(
|
||||
static TextStyle yekan49 = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 48,
|
||||
fontSize: 48.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan39 = TextStyle(
|
||||
static TextStyle yekan39 = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 39,
|
||||
fontSize: 39.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan31 = TextStyle(
|
||||
static TextStyle yekan31 = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 31,
|
||||
fontSize: 31.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan25 = TextStyle(
|
||||
static TextStyle yekan25 = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 25,
|
||||
fontSize: 25.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan24 = TextStyle(
|
||||
static TextStyle yekan24 = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 24,
|
||||
fontSize: 24.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan20 = TextStyle(
|
||||
static TextStyle yekan20 = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 20,
|
||||
fontSize: 20.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan18 = TextStyle(
|
||||
static TextStyle yekan18 = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 18,
|
||||
fontSize: 18.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan16 = TextStyle(
|
||||
static TextStyle yekan16 = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 16,
|
||||
fontSize: 16.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan14 = TextStyle(
|
||||
static TextStyle yekan14 = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 13,
|
||||
fontSize: 13.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
|
||||
|
||||
static const TextStyle yekan13 = TextStyle(
|
||||
static TextStyle yekan13 = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 13,
|
||||
fontSize: 13.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
|
||||
static const TextStyle yekan12 = TextStyle(
|
||||
static TextStyle yekan12 = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 12,
|
||||
fontSize: 12.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
@@ -109,84 +109,84 @@ class AppFonts {
|
||||
);
|
||||
|
||||
|
||||
static const TextStyle yekan8= TextStyle(
|
||||
static TextStyle yekan8= TextStyle(
|
||||
// Rounded from 10.24
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 8,
|
||||
fontSize: 8.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan61Bold = TextStyle(
|
||||
static TextStyle yekan61Bold = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: bold, // Use bold weight
|
||||
fontSize: 61,
|
||||
fontSize: 61.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan49Bold = TextStyle(
|
||||
static TextStyle yekan49Bold = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: bold, // Use bold weight
|
||||
fontSize: 48,
|
||||
fontSize: 48.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan39Bold = TextStyle(
|
||||
static TextStyle yekan39Bold = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: bold, // Use bold weight
|
||||
fontSize: 39,
|
||||
fontSize: 39.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan31Bold = TextStyle(
|
||||
static TextStyle yekan31Bold = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: bold, // Use bold weight
|
||||
fontSize: 31,
|
||||
fontSize: 31.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan25Bold = TextStyle(
|
||||
static TextStyle yekan25Bold = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: bold, // Use bold weight
|
||||
fontSize: 25,
|
||||
fontSize: 25.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan24Bold = TextStyle(
|
||||
static TextStyle yekan24Bold = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: bold, // Use bold weight
|
||||
fontSize: 24,
|
||||
fontSize: 24.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan20Bold = TextStyle(
|
||||
static TextStyle yekan20Bold = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: bold, // Use bold weight
|
||||
fontSize: 20,
|
||||
fontSize: 20.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan16Bold = TextStyle(
|
||||
static TextStyle yekan16Bold = TextStyle(
|
||||
// Base size bold
|
||||
fontFamily: yekan,
|
||||
fontWeight: bold, // Use bold weight
|
||||
fontSize: 16,
|
||||
fontSize: 16.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
|
||||
static const TextStyle yekan14Bold = TextStyle(
|
||||
static TextStyle yekan14Bold = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: bold, // Use bold weight
|
||||
fontSize: 13,
|
||||
fontSize: 13.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
|
||||
static const TextStyle yekan13Bold = TextStyle(
|
||||
static TextStyle yekan13Bold = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: bold, // Use bold weight
|
||||
fontSize: 13,
|
||||
fontSize: 13.sp,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// dart format width=120
|
||||
|
||||
/// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
/// *****************************************************
|
||||
/// FlutterGen
|
||||
@@ -5,7 +7,7 @@
|
||||
|
||||
// coverage:ignore-file
|
||||
// ignore_for_file: type=lint
|
||||
// ignore_for_file: directives_ordering,unnecessary_import,implicit_dynamic_list_literal,deprecated_member_use
|
||||
// ignore_for_file: deprecated_member_use,directives_ordering,implicit_dynamic_list_literal,unnecessary_import
|
||||
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
@@ -658,12 +660,13 @@ class Assets {
|
||||
}
|
||||
|
||||
class AssetGenImage {
|
||||
const AssetGenImage(this._assetName, {this.size, this.flavors = const {}});
|
||||
const AssetGenImage(this._assetName, {this.size, this.flavors = const {}, this.animation});
|
||||
|
||||
final String _assetName;
|
||||
|
||||
final Size? size;
|
||||
final Set<String> flavors;
|
||||
final AssetGenImageAnimation? animation;
|
||||
|
||||
Image image({
|
||||
Key? key,
|
||||
@@ -727,6 +730,14 @@ class AssetGenImage {
|
||||
String get keyName => _assetName;
|
||||
}
|
||||
|
||||
class AssetGenImageAnimation {
|
||||
const AssetGenImageAnimation({required this.isAnimation, required this.duration, required this.frames});
|
||||
|
||||
final bool isAnimation;
|
||||
final Duration duration;
|
||||
final int frames;
|
||||
}
|
||||
|
||||
class SvgGenImage {
|
||||
const SvgGenImage(this._assetName, {this.size, this.flavors = const {}}) : _isVecFormat = false;
|
||||
|
||||
@@ -751,6 +762,7 @@ class SvgGenImage {
|
||||
String? semanticsLabel,
|
||||
bool excludeFromSemantics = false,
|
||||
_svg.SvgTheme? theme,
|
||||
_svg.ColorMapper? colorMapper,
|
||||
ColorFilter? colorFilter,
|
||||
Clip clipBehavior = Clip.hardEdge,
|
||||
@deprecated Color? color,
|
||||
@@ -761,7 +773,13 @@ class SvgGenImage {
|
||||
if (_isVecFormat) {
|
||||
loader = _vg.AssetBytesLoader(_assetName, assetBundle: bundle, packageName: package);
|
||||
} else {
|
||||
loader = _svg.SvgAssetLoader(_assetName, assetBundle: bundle, packageName: package, theme: theme);
|
||||
loader = _svg.SvgAssetLoader(
|
||||
_assetName,
|
||||
assetBundle: bundle,
|
||||
packageName: package,
|
||||
theme: theme,
|
||||
colorMapper: colorMapper,
|
||||
);
|
||||
}
|
||||
return _svg.SvgPicture(
|
||||
loader,
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// dart format width=120
|
||||
/// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
/// *****************************************************
|
||||
/// FlutterGen
|
||||
@@ -5,7 +6,7 @@
|
||||
|
||||
// coverage:ignore-file
|
||||
// ignore_for_file: type=lint
|
||||
// ignore_for_file: directives_ordering,unnecessary_import,implicit_dynamic_list_literal,deprecated_member_use
|
||||
// ignore_for_file: deprecated_member_use,directives_ordering,implicit_dynamic_list_literal,unnecessary_import
|
||||
|
||||
class FontFamily {
|
||||
FontFamily._();
|
||||
|
||||
@@ -48,6 +48,7 @@ class RTextField extends StatefulWidget {
|
||||
final bool? enableSuggestions;
|
||||
final TextInputAction? textInputAction;
|
||||
final double? height;
|
||||
final Iterable<String>? autofillHints;
|
||||
|
||||
const RTextField({
|
||||
super.key,
|
||||
@@ -71,6 +72,7 @@ class RTextField extends StatefulWidget {
|
||||
this.textInputAction,
|
||||
this.keyboardType,
|
||||
this.focusNode,
|
||||
this.autofillHints,
|
||||
|
||||
// ⚙️ Input styling
|
||||
this.textAlign,
|
||||
@@ -219,6 +221,7 @@ class _RTextFieldState extends State<RTextField> {
|
||||
autocorrect: widget.autocorrect ?? true,
|
||||
enableSuggestions: widget.enableSuggestions ?? true,
|
||||
textInputAction: widget.textInputAction,
|
||||
autofillHints: widget.autofillHints,
|
||||
decoration: InputDecoration(
|
||||
contentPadding: const EdgeInsets.symmetric(horizontal: 16),
|
||||
errorStyle: widget.errorStyle,
|
||||
|
||||
Reference in New Issue
Block a user