running formatter
This commit is contained in:
@@ -19,6 +19,7 @@ A collection of Flutter packages maintained by @rodydavis.
|
||||
| [signals_flutter](https://github.com/rodydavis/signals.dart/tree/main/packages/signals_flutter) | The signals library exposes four core functions which are the building blocks to model any business logic you can think of. | [](https://pub.dartlang.org/packages/signals_flutter) |
|
||||
| [signals_hooks](https://github.com/rodydavis/signals.dart/tree/main/packages/signals_hooks) | flutter_hooks bindings for signals | [](https://pub.dartlang.org/packages/signals_hooks) |
|
||||
| [signals_lint](https://github.com/rodydavis/signals.dart/tree/main/packages/signals_lint) | linter and developer tool for signals | [](https://pub.dartlang.org/packages/signals_lint) |
|
||||
| [undo](./packages/undo) | A Undo/Redo Library for Flutter | [](https://pub.dartlang.org/packages/undo) |
|
||||
|
||||
## Experimental
|
||||
|
||||
@@ -66,6 +67,5 @@ A collection of Flutter packages maintained by @rodydavis.
|
||||
| [settings_gen](./deprecated/settings_manager/packages/settings_gen) | Code generator for MobX that adds support for annotating your code with @observable, @computed, @action and also creating SettingsStore classes. | [](https://pub.dartlang.org/packages/settings_gen) |
|
||||
| [settings_manager](./deprecated/settings_manager/packages/settings_manager) | A settings manager built on top of SharedPreferences. | [](https://pub.dartlang.org/packages/settings_manager) |
|
||||
| [sheet_music](./deprecated/sheet_music) | A Flutter Widget for Sheet Music (All Major Flat and Sharp Scales, Notes from 5 below and 5 above the bar, Treble and Bass Clef). | [](https://pub.dartlang.org/packages/sheet_music) |
|
||||
| [undo](./deprecated/undo) | A Undo/Redo Library for Flutter | [](https://pub.dartlang.org/packages/undo) |
|
||||
| [widget_gen](./deprecated/widget_gen) | A Flutter Code Gen Package Used to Generate Widgets for WidgetStudio | [](https://pub.dartlang.org/packages/widget_gen) |
|
||||
|
||||
|
||||
@@ -69,7 +69,8 @@ abstract class FirestoreHttpClient implements FirestoreClient {
|
||||
Future<List<DocumentSnapshot>> listDocumentSnapshots(String path) async {
|
||||
var list = <DocumentSnapshot>[];
|
||||
|
||||
var result = await (getJsonList("$path", extract: 'documents') as FutureOr<List<dynamic>>);
|
||||
var result = await (getJsonList("$path", extract: 'documents')
|
||||
as FutureOr<List<dynamic>>);
|
||||
|
||||
for (var item in result) {
|
||||
list.add(new DocumentSnapshot(this, item));
|
||||
|
||||
@@ -21,14 +21,16 @@ class PushIdGenerator {
|
||||
|
||||
static int? _lastPushTime;
|
||||
|
||||
static final List<int?> _lastRandChars = List<int?>.filled(12, null, growable: false);
|
||||
static final List<int?> _lastRandChars =
|
||||
List<int?>.filled(12, null, growable: false);
|
||||
|
||||
static String generatePushChildName() {
|
||||
int now = DateTime.now().millisecondsSinceEpoch;
|
||||
final bool duplicateTime = (now == _lastPushTime);
|
||||
_lastPushTime = now;
|
||||
|
||||
final List<String?> timeStampChars = List<String?>.filled(8, null, growable: false);
|
||||
final List<String?> timeStampChars =
|
||||
List<String?>.filled(8, null, growable: false);
|
||||
for (int i = 7; i >= 0; i--) {
|
||||
timeStampChars[i] = PUSH_CHARS[now % 64];
|
||||
now = (now / 64).floor();
|
||||
|
||||
@@ -68,11 +68,13 @@ class _NativePagedListViewState extends State<PagedListView> {
|
||||
}
|
||||
|
||||
void _scrollListener() {
|
||||
if (_controller!.offset >= _controller!.position.maxScrollExtent && !_controller!.position.outOfRange) {
|
||||
if (_controller!.offset >= _controller!.position.maxScrollExtent &&
|
||||
!_controller!.position.outOfRange) {
|
||||
// Bottom of List
|
||||
widget.loadNext!();
|
||||
}
|
||||
if (_controller!.offset <= _controller!.position.minScrollExtent && !_controller!.position.outOfRange) {
|
||||
if (_controller!.offset <= _controller!.position.minScrollExtent &&
|
||||
!_controller!.position.outOfRange) {
|
||||
// Top of List
|
||||
}
|
||||
}
|
||||
@@ -86,7 +88,11 @@ class _NativePagedListViewState extends State<PagedListView> {
|
||||
controller: _controller,
|
||||
slivers: <Widget>[
|
||||
...?widget.slivers,
|
||||
if (widget.onRefresh == null) SliverToBoxAdapter(child: Container()) else cupertino.CupertinoSliverRefreshControl(onRefresh: widget.onRefresh),
|
||||
if (widget.onRefresh == null)
|
||||
SliverToBoxAdapter(child: Container())
|
||||
else
|
||||
cupertino.CupertinoSliverRefreshControl(
|
||||
onRefresh: widget.onRefresh),
|
||||
if (widget.isLoading != null && widget.rows.isEmpty)
|
||||
Center(child: widget.isLoading)
|
||||
else
|
||||
@@ -102,7 +108,8 @@ class _NativePagedListViewState extends State<PagedListView> {
|
||||
value: widget.rows[index].selected,
|
||||
onChanged: (bool? value) {
|
||||
setState(() {
|
||||
widget.rows[index].onSelectChanged!(value);
|
||||
widget.rows[index]
|
||||
.onSelectChanged!(value);
|
||||
});
|
||||
},
|
||||
)
|
||||
@@ -157,13 +164,18 @@ class _NativePagedListViewState extends State<PagedListView> {
|
||||
}
|
||||
|
||||
_sortController = Scaffold.of(context).showBottomSheet((context) {
|
||||
final List<DataColumn> _cols = widget.columns.where((c) => c.onSort != null).toList();
|
||||
final List<DataColumn> _cols =
|
||||
widget.columns.where((c) => c.onSort != null).toList();
|
||||
final bool? _sortAsc = widget.sortAscending;
|
||||
final int? selectedIndex = widget.sortColumnIndex;
|
||||
return Container(
|
||||
decoration: BoxDecoration(
|
||||
color: Theme.of(context).brightness == Brightness.dark ? Colors.black38 : Colors.grey[200],
|
||||
borderRadius: const BorderRadius.only(topLeft: Radius.circular(20), topRight: Radius.circular(20))),
|
||||
color: Theme.of(context).brightness == Brightness.dark
|
||||
? Colors.black38
|
||||
: Colors.grey[200],
|
||||
borderRadius: const BorderRadius.only(
|
||||
topLeft: Radius.circular(20),
|
||||
topRight: Radius.circular(20))),
|
||||
child: SingleChildScrollView(
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
@@ -173,7 +185,9 @@ class _NativePagedListViewState extends State<PagedListView> {
|
||||
dense: true,
|
||||
selected: selectedIndex == i,
|
||||
title: _cols[i].label,
|
||||
subtitle: Text(widget.sortAscending! ? 'Ascending' : 'Descending'),
|
||||
subtitle: Text(widget.sortAscending!
|
||||
? 'Ascending'
|
||||
: 'Descending'),
|
||||
leading: Radio<int>(
|
||||
groupValue: selectedIndex,
|
||||
onChanged: (value) {
|
||||
@@ -184,7 +198,9 @@ class _NativePagedListViewState extends State<PagedListView> {
|
||||
value: i,
|
||||
),
|
||||
trailing: IconButton(
|
||||
icon: Icon(_sortAsc! ? Icons.arrow_upward : Icons.arrow_downward),
|
||||
icon: Icon(_sortAsc!
|
||||
? Icons.arrow_upward
|
||||
: Icons.arrow_downward),
|
||||
onPressed: () {
|
||||
_sortController!.setState!(() {
|
||||
_cols[i].onSort!(i, !_sortAsc);
|
||||
@@ -254,7 +270,8 @@ class _NativePagedListViewState extends State<PagedListView> {
|
||||
|
||||
bool get rowsSelected => _selectedRowCount != 0;
|
||||
|
||||
int get _selectedRowCount => widget.rows.where((d) => d.selected).toSet().toList().length;
|
||||
int get _selectedRowCount =>
|
||||
widget.rows.where((d) => d.selected).toSet().toList().length;
|
||||
|
||||
List<Widget> _buildMobileChildren(int index) {
|
||||
List<Widget> _children = [];
|
||||
|
||||
@@ -25,11 +25,17 @@ class StatelessDataTable extends StatelessWidget {
|
||||
this.rowsPerPage = defaultRowsPerPage,
|
||||
this.handlePrevious,
|
||||
this.handleNext,
|
||||
this.availableRowsPerPage = const <int>[defaultRowsPerPage, defaultRowsPerPage * 2, defaultRowsPerPage * 5, defaultRowsPerPage * 10],
|
||||
this.availableRowsPerPage = const <int>[
|
||||
defaultRowsPerPage,
|
||||
defaultRowsPerPage * 2,
|
||||
defaultRowsPerPage * 5,
|
||||
defaultRowsPerPage * 10
|
||||
],
|
||||
this.onRowsPerPageChanged,
|
||||
this.dragStartBehavior = DragStartBehavior.down,
|
||||
}) : assert(columns.isNotEmpty),
|
||||
assert(sortColumnIndex == null || (sortColumnIndex >= 0 && sortColumnIndex < columns.length)),
|
||||
assert(sortColumnIndex == null ||
|
||||
(sortColumnIndex >= 0 && sortColumnIndex < columns.length)),
|
||||
assert(rowsPerPage > 0),
|
||||
assert(() {
|
||||
if (onRowsPerPageChanged != null) {
|
||||
@@ -60,7 +66,11 @@ class StatelessDataTable extends StatelessWidget {
|
||||
final bool rowCountApproximate;
|
||||
final Map<int, DataRow> _rows = <int, DataRow>{};
|
||||
|
||||
DataRow _getBlankRowFor(int index) => DataRow.byIndex(index: index, cells: columns.map<DataCell>((DataColumn column) => DataCell.empty).toList());
|
||||
DataRow _getBlankRowFor(int index) => DataRow.byIndex(
|
||||
index: index,
|
||||
cells: columns
|
||||
.map<DataCell>((DataColumn column) => DataCell.empty)
|
||||
.toList());
|
||||
|
||||
DataRow _getProgressIndicatorRowFor(int index) {
|
||||
bool haveProgressIndicator = false;
|
||||
@@ -100,7 +110,8 @@ class StatelessDataTable extends StatelessWidget {
|
||||
}
|
||||
//show no data
|
||||
if (result.isEmpty) {
|
||||
var cells = columns.map<DataCell>((DataColumn column) => DataCell.empty).toList();
|
||||
var cells =
|
||||
columns.map<DataCell>((DataColumn column) => DataCell.empty).toList();
|
||||
cells[cells.length ~/ 2] = const DataCell(Text('no data'));
|
||||
result.add(DataRow.byIndex(index: 0, cells: cells));
|
||||
}
|
||||
@@ -110,13 +121,15 @@ class StatelessDataTable extends StatelessWidget {
|
||||
|
||||
final GlobalKey _tableKey = GlobalKey();
|
||||
|
||||
int get _selectedRowCount => rows.where((d) => d.selected).toSet().toList().length;
|
||||
int get _selectedRowCount =>
|
||||
rows.where((d) => d.selected).toSet().toList().length;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
assert(debugCheckHasMaterialLocalizations(context));
|
||||
final ThemeData themeData = Theme.of(context);
|
||||
final MaterialLocalizations localizations = MaterialLocalizations.of(context);
|
||||
final MaterialLocalizations localizations =
|
||||
MaterialLocalizations.of(context);
|
||||
|
||||
final List<Widget> headerWidgets = <Widget>[];
|
||||
double startPadding = 24;
|
||||
@@ -152,8 +165,9 @@ class StatelessDataTable extends StatelessWidget {
|
||||
final TextStyle? footerTextStyle = themeData.textTheme.caption;
|
||||
final List<Widget> footerWidgets = <Widget>[];
|
||||
if (onRowsPerPageChanged != null) {
|
||||
final List<Widget> _footerChildren =
|
||||
availableRowsPerPage.where((int value) => value <= rows.length || value == rowsPerPage).map<DropdownMenuItem<int>>((int value) {
|
||||
final List<Widget> _footerChildren = availableRowsPerPage
|
||||
.where((int value) => value <= rows.length || value == rowsPerPage)
|
||||
.map<DropdownMenuItem<int>>((int value) {
|
||||
return DropdownMenuItem<int>(value: value, child: Text('$value'));
|
||||
}).toList();
|
||||
footerWidgets.addAll(<Widget>[
|
||||
@@ -177,7 +191,11 @@ class StatelessDataTable extends StatelessWidget {
|
||||
}
|
||||
footerWidgets.addAll(<Widget>[
|
||||
Container(width: 32),
|
||||
Text(localizations.pageRowsInfoTitle(firstRowIndex + 1, firstRowIndex + rowsPerPage, totalItems ?? rows.length, rowCountApproximate)),
|
||||
Text(localizations.pageRowsInfoTitle(
|
||||
firstRowIndex + 1,
|
||||
firstRowIndex + rowsPerPage,
|
||||
totalItems ?? rows.length,
|
||||
rowCountApproximate)),
|
||||
Container(width: 32),
|
||||
IconButton(
|
||||
icon: const Icon(Icons.chevron_left),
|
||||
@@ -189,7 +207,10 @@ class StatelessDataTable extends StatelessWidget {
|
||||
icon: const Icon(Icons.chevron_right),
|
||||
padding: EdgeInsets.zero,
|
||||
tooltip: localizations.nextPageTooltip,
|
||||
onPressed: (!rowCountApproximate && (firstRowIndex + rowsPerPage >= (totalItems ?? rows.length))) ? null : handleNext),
|
||||
onPressed: (!rowCountApproximate &&
|
||||
(firstRowIndex + rowsPerPage >= (totalItems ?? rows.length)))
|
||||
? null
|
||||
: handleNext),
|
||||
Container(width: 14),
|
||||
]);
|
||||
|
||||
@@ -203,17 +224,24 @@ class StatelessDataTable extends StatelessWidget {
|
||||
container: true,
|
||||
child: DefaultTextStyle(
|
||||
style: _selectedRowCount > 0
|
||||
? themeData.textTheme.subtitle1!.copyWith(color: themeData.colorScheme.secondary)
|
||||
: themeData.textTheme.headline6!.copyWith(fontWeight: FontWeight.w400),
|
||||
? themeData.textTheme.subtitle1!
|
||||
.copyWith(color: themeData.colorScheme.secondary)
|
||||
: themeData.textTheme.headline6!
|
||||
.copyWith(fontWeight: FontWeight.w400),
|
||||
child: IconTheme.merge(
|
||||
data: const IconThemeData(opacity: 0.54),
|
||||
child: ButtonTheme(
|
||||
child: Ink(
|
||||
height: 64,
|
||||
color: _selectedRowCount > 0 ? themeData.secondaryHeaderColor : null,
|
||||
color: _selectedRowCount > 0
|
||||
? themeData.secondaryHeaderColor
|
||||
: null,
|
||||
child: Padding(
|
||||
padding: EdgeInsetsDirectional.only(start: startPadding, end: 14),
|
||||
child: Row(mainAxisAlignment: MainAxisAlignment.end, children: headerWidgets),
|
||||
padding: EdgeInsetsDirectional.only(
|
||||
start: startPadding, end: 14),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
children: headerWidgets),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -269,17 +297,24 @@ class StatelessDataTable extends StatelessWidget {
|
||||
container: true,
|
||||
child: DefaultTextStyle(
|
||||
style: _selectedRowCount > 0
|
||||
? themeData.textTheme.subtitle1!.copyWith(color: themeData.colorScheme.secondary)
|
||||
: themeData.textTheme.headline6!.copyWith(fontWeight: FontWeight.w400),
|
||||
? themeData.textTheme.subtitle1!
|
||||
.copyWith(color: themeData.colorScheme.secondary)
|
||||
: themeData.textTheme.headline6!
|
||||
.copyWith(fontWeight: FontWeight.w400),
|
||||
child: IconTheme.merge(
|
||||
data: const IconThemeData(opacity: 0.54),
|
||||
child: ButtonTheme(
|
||||
child: Ink(
|
||||
height: 64,
|
||||
color: _selectedRowCount > 0 ? themeData.secondaryHeaderColor : null,
|
||||
color: _selectedRowCount > 0
|
||||
? themeData.secondaryHeaderColor
|
||||
: null,
|
||||
child: Padding(
|
||||
padding: EdgeInsetsDirectional.only(start: startPadding, end: 14),
|
||||
child: Row(mainAxisAlignment: MainAxisAlignment.end, children: headerWidgets),
|
||||
padding: EdgeInsetsDirectional.only(
|
||||
start: startPadding, end: 14),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
children: headerWidgets),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -41,7 +41,9 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
body: Center(
|
||||
child: _loading
|
||||
? CircularProgressIndicator()
|
||||
: _file == null ? Text('No File Selected') : _buildFile(_file),
|
||||
: _file == null
|
||||
? Text('No File Selected')
|
||||
: _buildFile(_file),
|
||||
),
|
||||
persistentFooterButtons: <Widget>[
|
||||
IconButton(
|
||||
|
||||
@@ -16,7 +16,8 @@ class NgDartCommanderRunner extends CommandRunner {
|
||||
static const _verboseOption = 'verbose';
|
||||
|
||||
NgDartCommanderRunner()
|
||||
: super('ngflutter', 'Ngflutter is a command line interface for Flutter.') {
|
||||
: super(
|
||||
'ngflutter', 'Ngflutter is a command line interface for Flutter.') {
|
||||
argParser.addFlag(_verboseOption,
|
||||
abbr: 'v',
|
||||
help: 'Output extra logging information.',
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
// license that can be found in the LICENSE file or at
|
||||
// https://developers.google.com/open-source/licenses/bsd
|
||||
|
||||
|
||||
import 'command.dart';
|
||||
import 'generate_test.dart';
|
||||
import 'package:ngflutter/src/commands/generate_widget.dart';
|
||||
|
||||
@@ -30,9 +30,7 @@ class NewProjectCommand extends NgDartCommand {
|
||||
'a new folder will be created unde this path for the project.',
|
||||
defaultsTo: '.');
|
||||
argParser.addOption(_rootComponentOption,
|
||||
abbr: 'r',
|
||||
help: 'Class name of root component.',
|
||||
defaultsTo: 'Screen');
|
||||
abbr: 'r', help: 'Class name of root component.', defaultsTo: 'Screen');
|
||||
}
|
||||
|
||||
Future run() async {
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
|
||||
|
||||
@@ -10,9 +10,7 @@ abstract class WidgetPreferredSizedBase extends WidgetBase {
|
||||
Size get preferredSize;
|
||||
}
|
||||
|
||||
abstract class PropertyBase extends WidgetConfig {
|
||||
|
||||
}
|
||||
abstract class PropertyBase extends WidgetConfig {}
|
||||
|
||||
abstract class AcceptData {
|
||||
Map<String, dynamic> get data;
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class AlwaysScrollableScrollPhysicsBase extends BaseWidget {
|
||||
AlwaysScrollableScrollPhysicsBase();
|
||||
|
||||
factory AlwaysScrollableScrollPhysicsBase.fromJson(Map<String, dynamic> data) {
|
||||
factory AlwaysScrollableScrollPhysicsBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return AlwaysScrollableScrollPhysicsBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class AnimatedPositionedDirectionalBase extends BaseWidget {
|
||||
AnimatedPositionedDirectionalBase();
|
||||
|
||||
factory AnimatedPositionedDirectionalBase.fromJson(Map<String, dynamic> data) {
|
||||
factory AnimatedPositionedDirectionalBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return AnimatedPositionedDirectionalBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class ApplicationSwitcherDescriptionBase extends BaseWidget {
|
||||
ApplicationSwitcherDescriptionBase();
|
||||
|
||||
factory ApplicationSwitcherDescriptionBase.fromJson(Map<String, dynamic> data) {
|
||||
factory ApplicationSwitcherDescriptionBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return ApplicationSwitcherDescriptionBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class BlacklistingTextInputFormatterBase extends BaseWidget {
|
||||
BlacklistingTextInputFormatterBase();
|
||||
|
||||
factory BlacklistingTextInputFormatterBase.fromJson(Map<String, dynamic> data) {
|
||||
factory BlacklistingTextInputFormatterBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return BlacklistingTextInputFormatterBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class CupertinoFullscreenDialogTransitionBase extends BaseWidget {
|
||||
CupertinoFullscreenDialogTransitionBase();
|
||||
|
||||
factory CupertinoFullscreenDialogTransitionBase.fromJson(Map<String, dynamic> data) {
|
||||
factory CupertinoFullscreenDialogTransitionBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return CupertinoFullscreenDialogTransitionBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class CupertinoNavigationBarBackButtonBase extends BaseWidget {
|
||||
CupertinoNavigationBarBackButtonBase();
|
||||
|
||||
factory CupertinoNavigationBarBackButtonBase.fromJson(Map<String, dynamic> data) {
|
||||
factory CupertinoNavigationBarBackButtonBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return CupertinoNavigationBarBackButtonBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class CupertinoPageTransitionsBuilderBase extends BaseWidget {
|
||||
CupertinoPageTransitionsBuilderBase();
|
||||
|
||||
factory CupertinoPageTransitionsBuilderBase.fromJson(Map<String, dynamic> data) {
|
||||
factory CupertinoPageTransitionsBuilderBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return CupertinoPageTransitionsBuilderBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class CupertinoSlidingSegmentedControlBase extends BaseWidget {
|
||||
CupertinoSlidingSegmentedControlBase();
|
||||
|
||||
factory CupertinoSlidingSegmentedControlBase.fromJson(Map<String, dynamic> data) {
|
||||
factory CupertinoSlidingSegmentedControlBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return CupertinoSlidingSegmentedControlBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class CupertinoSliverRefreshControlBase extends BaseWidget {
|
||||
CupertinoSliverRefreshControlBase();
|
||||
|
||||
factory CupertinoSliverRefreshControlBase.fromJson(Map<String, dynamic> data) {
|
||||
factory CupertinoSliverRefreshControlBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return CupertinoSliverRefreshControlBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class CupertinoTextSelectionToolbarBase extends BaseWidget {
|
||||
CupertinoTextSelectionToolbarBase();
|
||||
|
||||
factory CupertinoTextSelectionToolbarBase.fromJson(Map<String, dynamic> data) {
|
||||
factory CupertinoTextSelectionToolbarBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return CupertinoTextSelectionToolbarBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class DefaultCupertinoLocalizationsBase extends BaseWidget {
|
||||
DefaultCupertinoLocalizationsBase();
|
||||
|
||||
factory DefaultCupertinoLocalizationsBase.fromJson(Map<String, dynamic> data) {
|
||||
factory DefaultCupertinoLocalizationsBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return DefaultCupertinoLocalizationsBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class DelayedMultiDragGestureRecognizerBase extends BaseWidget {
|
||||
DelayedMultiDragGestureRecognizerBase();
|
||||
|
||||
factory DelayedMultiDragGestureRecognizerBase.fromJson(Map<String, dynamic> data) {
|
||||
factory DelayedMultiDragGestureRecognizerBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return DelayedMultiDragGestureRecognizerBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class DraggableScrollableNotificationBase extends BaseWidget {
|
||||
DraggableScrollableNotificationBase();
|
||||
|
||||
factory DraggableScrollableNotificationBase.fromJson(Map<String, dynamic> data) {
|
||||
factory DraggableScrollableNotificationBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return DraggableScrollableNotificationBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class FadeUpwardsPageTransitionsBuilderBase extends BaseWidget {
|
||||
FadeUpwardsPageTransitionsBuilderBase();
|
||||
|
||||
factory FadeUpwardsPageTransitionsBuilderBase.fromJson(Map<String, dynamic> data) {
|
||||
factory FadeUpwardsPageTransitionsBuilderBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return FadeUpwardsPageTransitionsBuilderBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class FloatingActionButtonThemeDataBase extends BaseWidget {
|
||||
FloatingActionButtonThemeDataBase();
|
||||
|
||||
factory FloatingActionButtonThemeDataBase.fromJson(Map<String, dynamic> data) {
|
||||
factory FloatingActionButtonThemeDataBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return FloatingActionButtonThemeDataBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class FloatingHeaderSnapConfigurationBase extends BaseWidget {
|
||||
FloatingHeaderSnapConfigurationBase();
|
||||
|
||||
factory FloatingHeaderSnapConfigurationBase.fromJson(Map<String, dynamic> data) {
|
||||
factory FloatingHeaderSnapConfigurationBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return FloatingHeaderSnapConfigurationBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class FlutterErrorDetailsForPointerEventDispatcherBase extends BaseWidget {
|
||||
FlutterErrorDetailsForPointerEventDispatcherBase();
|
||||
|
||||
factory FlutterErrorDetailsForPointerEventDispatcherBase.fromJson(Map<String, dynamic> data) {
|
||||
factory FlutterErrorDetailsForPointerEventDispatcherBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return FlutterErrorDetailsForPointerEventDispatcherBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class GestureRecognizerFactoryWithHandlersBase extends BaseWidget {
|
||||
GestureRecognizerFactoryWithHandlersBase();
|
||||
|
||||
factory GestureRecognizerFactoryWithHandlersBase.fromJson(Map<String, dynamic> data) {
|
||||
factory GestureRecognizerFactoryWithHandlersBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return GestureRecognizerFactoryWithHandlersBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class HorizontalDragGestureRecognizerBase extends BaseWidget {
|
||||
HorizontalDragGestureRecognizerBase();
|
||||
|
||||
factory HorizontalDragGestureRecognizerBase.fromJson(Map<String, dynamic> data) {
|
||||
factory HorizontalDragGestureRecognizerBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return HorizontalDragGestureRecognizerBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class HorizontalMultiDragGestureRecognizerBase extends BaseWidget {
|
||||
HorizontalMultiDragGestureRecognizerBase();
|
||||
|
||||
factory HorizontalMultiDragGestureRecognizerBase.fromJson(Map<String, dynamic> data) {
|
||||
factory HorizontalMultiDragGestureRecognizerBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return HorizontalMultiDragGestureRecognizerBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class IOSScrollViewFlingVelocityTrackerBase extends BaseWidget {
|
||||
IOSScrollViewFlingVelocityTrackerBase();
|
||||
|
||||
factory IOSScrollViewFlingVelocityTrackerBase.fromJson(Map<String, dynamic> data) {
|
||||
factory IOSScrollViewFlingVelocityTrackerBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return IOSScrollViewFlingVelocityTrackerBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class ImmediateMultiDragGestureRecognizerBase extends BaseWidget {
|
||||
ImmediateMultiDragGestureRecognizerBase();
|
||||
|
||||
factory ImmediateMultiDragGestureRecognizerBase.fromJson(Map<String, dynamic> data) {
|
||||
factory ImmediateMultiDragGestureRecognizerBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return ImmediateMultiDragGestureRecognizerBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class InlineSpanSemanticsInformationBase extends BaseWidget {
|
||||
InlineSpanSemanticsInformationBase();
|
||||
|
||||
factory InlineSpanSemanticsInformationBase.fromJson(Map<String, dynamic> data) {
|
||||
factory InlineSpanSemanticsInformationBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return InlineSpanSemanticsInformationBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class InspectorSerializationDelegateBase extends BaseWidget {
|
||||
InspectorSerializationDelegateBase();
|
||||
|
||||
factory InspectorSerializationDelegateBase.fromJson(Map<String, dynamic> data) {
|
||||
factory InspectorSerializationDelegateBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return InspectorSerializationDelegateBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class LengthLimitingTextInputFormatterBase extends BaseWidget {
|
||||
LengthLimitingTextInputFormatterBase();
|
||||
|
||||
factory LengthLimitingTextInputFormatterBase.fromJson(Map<String, dynamic> data) {
|
||||
factory LengthLimitingTextInputFormatterBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return LengthLimitingTextInputFormatterBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class ListWheelChildBuilderDelegateBase extends BaseWidget {
|
||||
ListWheelChildBuilderDelegateBase();
|
||||
|
||||
factory ListWheelChildBuilderDelegateBase.fromJson(Map<String, dynamic> data) {
|
||||
factory ListWheelChildBuilderDelegateBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return ListWheelChildBuilderDelegateBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class ListWheelChildLoopingListDelegateBase extends BaseWidget {
|
||||
ListWheelChildLoopingListDelegateBase();
|
||||
|
||||
factory ListWheelChildLoopingListDelegateBase.fromJson(Map<String, dynamic> data) {
|
||||
factory ListWheelChildLoopingListDelegateBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return ListWheelChildLoopingListDelegateBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class MaterialBasedCupertinoThemeDataBase extends BaseWidget {
|
||||
MaterialBasedCupertinoThemeDataBase();
|
||||
|
||||
factory MaterialBasedCupertinoThemeDataBase.fromJson(Map<String, dynamic> data) {
|
||||
factory MaterialBasedCupertinoThemeDataBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return MaterialBasedCupertinoThemeDataBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class MultiChildRenderObjectElementBase extends BaseWidget {
|
||||
MultiChildRenderObjectElementBase();
|
||||
|
||||
factory MultiChildRenderObjectElementBase.fromJson(Map<String, dynamic> data) {
|
||||
factory MultiChildRenderObjectElementBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return MultiChildRenderObjectElementBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class MultiFrameImageStreamCompleterBase extends BaseWidget {
|
||||
MultiFrameImageStreamCompleterBase();
|
||||
|
||||
factory MultiFrameImageStreamCompleterBase.fromJson(Map<String, dynamic> data) {
|
||||
factory MultiFrameImageStreamCompleterBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return MultiFrameImageStreamCompleterBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class OpenUpwardsPageTransitionsBuilderBase extends BaseWidget {
|
||||
OpenUpwardsPageTransitionsBuilderBase();
|
||||
|
||||
factory OpenUpwardsPageTransitionsBuilderBase.fromJson(Map<String, dynamic> data) {
|
||||
factory OpenUpwardsPageTransitionsBuilderBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return OpenUpwardsPageTransitionsBuilderBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class OverScrollHeaderStretchConfigurationBase extends BaseWidget {
|
||||
OverScrollHeaderStretchConfigurationBase();
|
||||
|
||||
factory OverScrollHeaderStretchConfigurationBase.fromJson(Map<String, dynamic> data) {
|
||||
factory OverScrollHeaderStretchConfigurationBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return OverScrollHeaderStretchConfigurationBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class OverscrollIndicatorNotificationBase extends BaseWidget {
|
||||
OverscrollIndicatorNotificationBase();
|
||||
|
||||
factory OverscrollIndicatorNotificationBase.fromJson(Map<String, dynamic> data) {
|
||||
factory OverscrollIndicatorNotificationBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return OverscrollIndicatorNotificationBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class PaddleRangeSliderValueIndicatorShapeBase extends BaseWidget {
|
||||
PaddleRangeSliderValueIndicatorShapeBase();
|
||||
|
||||
factory PaddleRangeSliderValueIndicatorShapeBase.fromJson(Map<String, dynamic> data) {
|
||||
factory PaddleRangeSliderValueIndicatorShapeBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return PaddleRangeSliderValueIndicatorShapeBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class PaddleSliderValueIndicatorShapeBase extends BaseWidget {
|
||||
PaddleSliderValueIndicatorShapeBase();
|
||||
|
||||
factory PaddleSliderValueIndicatorShapeBase.fromJson(Map<String, dynamic> data) {
|
||||
factory PaddleSliderValueIndicatorShapeBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return PaddleSliderValueIndicatorShapeBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class PersistentBottomSheetControllerBase extends BaseWidget {
|
||||
PersistentBottomSheetControllerBase();
|
||||
|
||||
factory PersistentBottomSheetControllerBase.fromJson(Map<String, dynamic> data) {
|
||||
factory PersistentBottomSheetControllerBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return PersistentBottomSheetControllerBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class PersistentHeaderShowOnScreenConfigurationBase extends BaseWidget {
|
||||
PersistentHeaderShowOnScreenConfigurationBase();
|
||||
|
||||
factory PersistentHeaderShowOnScreenConfigurationBase.fromJson(Map<String, dynamic> data) {
|
||||
factory PersistentHeaderShowOnScreenConfigurationBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return PersistentHeaderShowOnScreenConfigurationBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class PlatformRouteInformationProviderBase extends BaseWidget {
|
||||
PlatformRouteInformationProviderBase();
|
||||
|
||||
factory PlatformRouteInformationProviderBase.fromJson(Map<String, dynamic> data) {
|
||||
factory PlatformRouteInformationProviderBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return PlatformRouteInformationProviderBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class RangeMaintainingScrollPhysicsBase extends BaseWidget {
|
||||
RangeMaintainingScrollPhysicsBase();
|
||||
|
||||
factory RangeMaintainingScrollPhysicsBase.fromJson(Map<String, dynamic> data) {
|
||||
factory RangeMaintainingScrollPhysicsBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return RangeMaintainingScrollPhysicsBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class RectangularRangeSliderTrackShapeBase extends BaseWidget {
|
||||
RectangularRangeSliderTrackShapeBase();
|
||||
|
||||
factory RectangularRangeSliderTrackShapeBase.fromJson(Map<String, dynamic> data) {
|
||||
factory RectangularRangeSliderTrackShapeBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return RectangularRangeSliderTrackShapeBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class RectangularRangeSliderValueIndicatorShapeBase extends BaseWidget {
|
||||
RectangularRangeSliderValueIndicatorShapeBase();
|
||||
|
||||
factory RectangularRangeSliderValueIndicatorShapeBase.fromJson(Map<String, dynamic> data) {
|
||||
factory RectangularRangeSliderValueIndicatorShapeBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return RectangularRangeSliderValueIndicatorShapeBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class RectangularSliderValueIndicatorShapeBase extends BaseWidget {
|
||||
RectangularSliderValueIndicatorShapeBase();
|
||||
|
||||
factory RectangularSliderValueIndicatorShapeBase.fromJson(Map<String, dynamic> data) {
|
||||
factory RectangularSliderValueIndicatorShapeBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return RectangularSliderValueIndicatorShapeBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class RenderCustomMultiChildLayoutBoxBase extends BaseWidget {
|
||||
RenderCustomMultiChildLayoutBoxBase();
|
||||
|
||||
factory RenderCustomMultiChildLayoutBoxBase.fromJson(Map<String, dynamic> data) {
|
||||
factory RenderCustomMultiChildLayoutBoxBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return RenderCustomMultiChildLayoutBoxBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class RenderCustomSingleChildLayoutBoxBase extends BaseWidget {
|
||||
RenderCustomSingleChildLayoutBoxBase();
|
||||
|
||||
factory RenderCustomSingleChildLayoutBoxBase.fromJson(Map<String, dynamic> data) {
|
||||
factory RenderCustomSingleChildLayoutBoxBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return RenderCustomSingleChildLayoutBoxBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class RenderFractionallySizedOverflowBoxBase extends BaseWidget {
|
||||
RenderFractionallySizedOverflowBoxBase();
|
||||
|
||||
factory RenderFractionallySizedOverflowBoxBase.fromJson(Map<String, dynamic> data) {
|
||||
factory RenderFractionallySizedOverflowBoxBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return RenderFractionallySizedOverflowBoxBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class RenderNestedScrollViewViewportBase extends BaseWidget {
|
||||
RenderNestedScrollViewViewportBase();
|
||||
|
||||
factory RenderNestedScrollViewViewportBase.fromJson(Map<String, dynamic> data) {
|
||||
factory RenderNestedScrollViewViewportBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return RenderNestedScrollViewViewportBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class RenderSemanticsGestureHandlerBase extends BaseWidget {
|
||||
RenderSemanticsGestureHandlerBase();
|
||||
|
||||
factory RenderSemanticsGestureHandlerBase.fromJson(Map<String, dynamic> data) {
|
||||
factory RenderSemanticsGestureHandlerBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return RenderSemanticsGestureHandlerBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class RenderSliverFillRemainingAndOverscrollBase extends BaseWidget {
|
||||
RenderSliverFillRemainingAndOverscrollBase();
|
||||
|
||||
factory RenderSliverFillRemainingAndOverscrollBase.fromJson(Map<String, dynamic> data) {
|
||||
factory RenderSliverFillRemainingAndOverscrollBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return RenderSliverFillRemainingAndOverscrollBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class RenderSliverFillRemainingWithScrollableBase extends BaseWidget {
|
||||
RenderSliverFillRemainingWithScrollableBase();
|
||||
|
||||
factory RenderSliverFillRemainingWithScrollableBase.fromJson(Map<String, dynamic> data) {
|
||||
factory RenderSliverFillRemainingWithScrollableBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return RenderSliverFillRemainingWithScrollableBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class RestorableTextEditingControllerBase extends BaseWidget {
|
||||
RestorableTextEditingControllerBase();
|
||||
|
||||
factory RestorableTextEditingControllerBase.fromJson(Map<String, dynamic> data) {
|
||||
factory RestorableTextEditingControllerBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return RestorableTextEditingControllerBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class RoundRangeSliderTickMarkShapeBase extends BaseWidget {
|
||||
RoundRangeSliderTickMarkShapeBase();
|
||||
|
||||
factory RoundRangeSliderTickMarkShapeBase.fromJson(Map<String, dynamic> data) {
|
||||
factory RoundRangeSliderTickMarkShapeBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return RoundRangeSliderTickMarkShapeBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class RoundedRectRangeSliderTrackShapeBase extends BaseWidget {
|
||||
RoundedRectRangeSliderTrackShapeBase();
|
||||
|
||||
factory RoundedRectRangeSliderTrackShapeBase.fromJson(Map<String, dynamic> data) {
|
||||
factory RoundedRectRangeSliderTrackShapeBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return RoundedRectRangeSliderTrackShapeBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class ScrollPositionWithSingleContextBase extends BaseWidget {
|
||||
ScrollPositionWithSingleContextBase();
|
||||
|
||||
factory ScrollPositionWithSingleContextBase.fromJson(Map<String, dynamic> data) {
|
||||
factory ScrollPositionWithSingleContextBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return ScrollPositionWithSingleContextBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class SingleChildRenderObjectElementBase extends BaseWidget {
|
||||
SingleChildRenderObjectElementBase();
|
||||
|
||||
factory SingleChildRenderObjectElementBase.fromJson(Map<String, dynamic> data) {
|
||||
factory SingleChildRenderObjectElementBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return SingleChildRenderObjectElementBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class SizeChangedLayoutNotificationBase extends BaseWidget {
|
||||
SizeChangedLayoutNotificationBase();
|
||||
|
||||
factory SizeChangedLayoutNotificationBase.fromJson(Map<String, dynamic> data) {
|
||||
factory SizeChangedLayoutNotificationBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return SizeChangedLayoutNotificationBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class SliverGridDelegateWithFixedCrossAxisCountBase extends BaseWidget {
|
||||
SliverGridDelegateWithFixedCrossAxisCountBase();
|
||||
|
||||
factory SliverGridDelegateWithFixedCrossAxisCountBase.fromJson(Map<String, dynamic> data) {
|
||||
factory SliverGridDelegateWithFixedCrossAxisCountBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return SliverGridDelegateWithFixedCrossAxisCountBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class SliverGridDelegateWithMaxCrossAxisExtentBase extends BaseWidget {
|
||||
SliverGridDelegateWithMaxCrossAxisExtentBase();
|
||||
|
||||
factory SliverGridDelegateWithMaxCrossAxisExtentBase.fromJson(Map<String, dynamic> data) {
|
||||
factory SliverGridDelegateWithMaxCrossAxisExtentBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return SliverGridDelegateWithMaxCrossAxisExtentBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class SliverLogicalContainerParentDataBase extends BaseWidget {
|
||||
SliverLogicalContainerParentDataBase();
|
||||
|
||||
factory SliverLogicalContainerParentDataBase.fromJson(Map<String, dynamic> data) {
|
||||
factory SliverLogicalContainerParentDataBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return SliverLogicalContainerParentDataBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class SliverMultiBoxAdaptorParentDataBase extends BaseWidget {
|
||||
SliverMultiBoxAdaptorParentDataBase();
|
||||
|
||||
factory SliverMultiBoxAdaptorParentDataBase.fromJson(Map<String, dynamic> data) {
|
||||
factory SliverMultiBoxAdaptorParentDataBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return SliverMultiBoxAdaptorParentDataBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class SliverPhysicalContainerParentDataBase extends BaseWidget {
|
||||
SliverPhysicalContainerParentDataBase();
|
||||
|
||||
factory SliverPhysicalContainerParentDataBase.fromJson(Map<String, dynamic> data) {
|
||||
factory SliverPhysicalContainerParentDataBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return SliverPhysicalContainerParentDataBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class TextSelectionGestureDetectorBuilderBase extends BaseWidget {
|
||||
TextSelectionGestureDetectorBuilderBase();
|
||||
|
||||
factory TextSelectionGestureDetectorBuilderBase.fromJson(Map<String, dynamic> data) {
|
||||
factory TextSelectionGestureDetectorBuilderBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return TextSelectionGestureDetectorBuilderBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class VerticalDragGestureRecognizerBase extends BaseWidget {
|
||||
VerticalDragGestureRecognizerBase();
|
||||
|
||||
factory VerticalDragGestureRecognizerBase.fromJson(Map<String, dynamic> data) {
|
||||
factory VerticalDragGestureRecognizerBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return VerticalDragGestureRecognizerBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class VerticalMultiDragGestureRecognizerBase extends BaseWidget {
|
||||
VerticalMultiDragGestureRecognizerBase();
|
||||
|
||||
factory VerticalMultiDragGestureRecognizerBase.fromJson(Map<String, dynamic> data) {
|
||||
factory VerticalMultiDragGestureRecognizerBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return VerticalMultiDragGestureRecognizerBase();
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ import '../base.dart';
|
||||
class WhitelistingTextInputFormatterBase extends BaseWidget {
|
||||
WhitelistingTextInputFormatterBase();
|
||||
|
||||
factory WhitelistingTextInputFormatterBase.fromJson(Map<String, dynamic> data) {
|
||||
factory WhitelistingTextInputFormatterBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return WhitelistingTextInputFormatterBase();
|
||||
}
|
||||
|
||||
|
||||
@@ -162,7 +162,8 @@ Map<String, BaseWidget> widgetLibrary = {
|
||||
'FractionalOffset': FractionalOffsetBase(),
|
||||
'FrictionSimulation': FrictionSimulationBase(),
|
||||
'GestureDetector': GestureDetectorBase(),
|
||||
'GestureRecognizerFactoryWithHandlers': GestureRecognizerFactoryWithHandlersBase(),
|
||||
'GestureRecognizerFactoryWithHandlers':
|
||||
GestureRecognizerFactoryWithHandlersBase(),
|
||||
'GravitySimulation': GravitySimulationBase(),
|
||||
'GridPaper': GridPaperBase(),
|
||||
'GridTile': GridTileBase(),
|
||||
@@ -261,7 +262,8 @@ Map<String, BaseWidget> widgetLibrary = {
|
||||
'Overlay': OverlayBase(),
|
||||
'OverlayEntry': OverlayEntryBase(),
|
||||
'OverlayState': OverlayStateBase(),
|
||||
'PaddleRangeSliderValueIndicatorShape': PaddleRangeSliderValueIndicatorShapeBase(),
|
||||
'PaddleRangeSliderValueIndicatorShape':
|
||||
PaddleRangeSliderValueIndicatorShapeBase(),
|
||||
'PaddleSliderValueIndicatorShape': PaddleSliderValueIndicatorShapeBase(),
|
||||
'PageController': PageControllerBase(),
|
||||
'PageMetrics': PageMetricsBase(),
|
||||
@@ -302,9 +304,11 @@ Map<String, BaseWidget> widgetLibrary = {
|
||||
'RawKeyboardListener': RawKeyboardListenerBase(),
|
||||
'RectTween': RectTweenBase(),
|
||||
'RectangularRangeSliderTrackShape': RectangularRangeSliderTrackShapeBase(),
|
||||
'RectangularRangeSliderValueIndicatorShape': RectangularRangeSliderValueIndicatorShapeBase(),
|
||||
'RectangularRangeSliderValueIndicatorShape':
|
||||
RectangularRangeSliderValueIndicatorShapeBase(),
|
||||
'RectangularSliderTrackShape': RectangularSliderTrackShapeBase(),
|
||||
'RectangularSliderValueIndicatorShape': RectangularSliderValueIndicatorShapeBase(),
|
||||
'RectangularSliderValueIndicatorShape':
|
||||
RectangularSliderValueIndicatorShapeBase(),
|
||||
'RefreshIndicator': RefreshIndicatorBase(),
|
||||
'RefreshIndicatorState': RefreshIndicatorStateBase(),
|
||||
'RelativeRect': RelativeRectBase(),
|
||||
@@ -385,8 +389,10 @@ Map<String, BaseWidget> widgetLibrary = {
|
||||
'SliverAnimatedList': SliverAnimatedListBase(),
|
||||
'SliverAnimatedListState': SliverAnimatedListStateBase(),
|
||||
'SliverAppBar': SliverAppBarBase(),
|
||||
'SliverGridDelegateWithFixedCrossAxisCount': SliverGridDelegateWithFixedCrossAxisCountBase(),
|
||||
'SliverGridDelegateWithMaxCrossAxisExtent': SliverGridDelegateWithMaxCrossAxisExtentBase(),
|
||||
'SliverGridDelegateWithFixedCrossAxisCount':
|
||||
SliverGridDelegateWithFixedCrossAxisCountBase(),
|
||||
'SliverGridDelegateWithMaxCrossAxisExtent':
|
||||
SliverGridDelegateWithMaxCrossAxisExtentBase(),
|
||||
'SliverGridGeometry': SliverGridGeometryBase(),
|
||||
'SliverGridParentData': SliverGridParentDataBase(),
|
||||
'SliverGridRegularTileLayout': SliverGridRegularTileLayoutBase(),
|
||||
@@ -440,7 +446,8 @@ Map<String, BaseWidget> widgetLibrary = {
|
||||
'TextInputType': TextInputTypeBase(),
|
||||
'TextPainter': TextPainterBase(),
|
||||
'TextSelectionGestureDetector': TextSelectionGestureDetectorBase(),
|
||||
'TextSelectionGestureDetectorBuilder': TextSelectionGestureDetectorBuilderBase(),
|
||||
'TextSelectionGestureDetectorBuilder':
|
||||
TextSelectionGestureDetectorBuilderBase(),
|
||||
'TextSelectionOverlay': TextSelectionOverlayBase(),
|
||||
'TextSelectionTheme': TextSelectionThemeBase(),
|
||||
'TextSelectionThemeData': TextSelectionThemeDataBase(),
|
||||
|
||||
@@ -38,11 +38,9 @@ class FlutterLogoBase extends _$FlutterLogoBase {
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
|
||||
@override
|
||||
get onAction => (context, val) => MaterialBase.onAction(context, val);
|
||||
|
||||
@ColorKey(defaultValue: 0xFF616161)
|
||||
Color textColor;
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@ class FormBase extends _$FormBase {
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
|
||||
@override
|
||||
get onAction => (context, val) => MaterialBase.onAction(context, val);
|
||||
|
||||
|
||||
+2
-2
@@ -9,7 +9,8 @@ part 'fractionally_sized_box.g.dart';
|
||||
|
||||
@WidgetClass('FractionallySizedBox')
|
||||
class FractionallySizedBoxBase extends _$FractionallySizedBoxBase {
|
||||
FractionallySizedBoxBase(this.widgetData, this.widgetContext, this.widgetRender);
|
||||
FractionallySizedBoxBase(
|
||||
this.widgetData, this.widgetContext, this.widgetRender);
|
||||
|
||||
@WidgetKey.widget(
|
||||
acceptWidth: 100,
|
||||
@@ -34,5 +35,4 @@ class FractionallySizedBoxBase extends _$FractionallySizedBoxBase {
|
||||
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
}
|
||||
|
||||
@@ -25,7 +25,6 @@ class IconBase extends _$IconBase {
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
|
||||
@override
|
||||
get onAction => (context, val) => MaterialBase.onAction(context, val);
|
||||
|
||||
|
||||
@@ -35,7 +35,6 @@ class IconButtonBase extends _$IconButtonBase {
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
|
||||
@override
|
||||
get onAction => (context, val) => MaterialBase.onAction(context, val);
|
||||
|
||||
|
||||
@@ -34,7 +34,6 @@ class ImageNetworkBase extends _$ImageNetworkBase {
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
|
||||
@override
|
||||
get onAction => (context, val) => MaterialBase.onAction(context, val);
|
||||
|
||||
|
||||
@@ -43,7 +43,6 @@ class MaterialAppBase extends _$MaterialAppBase {
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
|
||||
@override
|
||||
get onAction => (context, val) => MaterialBase.onAction(context, val);
|
||||
|
||||
@@ -91,5 +90,4 @@ class MaterialAppBase extends _$MaterialAppBase {
|
||||
// Locale Function(List<Locale>, Iterable<Locale>) localeListResolutionCallback;
|
||||
|
||||
// Locale Function(Locale, Iterable<Locale>) localeResolutionCallback;
|
||||
|
||||
}
|
||||
|
||||
@@ -52,7 +52,6 @@ class OutlineButtonBase extends _$OutlineButtonBase {
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
|
||||
@override
|
||||
get onAction => (context, val) => MaterialBase.onAction(context, val);
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@ class PlaceholderBase extends _$PlaceholderBase {
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
|
||||
@override
|
||||
get onAction => (context, val) => MaterialBase.onAction(context, val);
|
||||
|
||||
|
||||
@@ -33,5 +33,4 @@ class PositionedBase extends _$PositionedBase {
|
||||
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
}
|
||||
|
||||
@@ -59,7 +59,6 @@ class RaisedButtonBase extends _$RaisedButtonBase {
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
|
||||
@override
|
||||
get onAction => (context, val) => MaterialBase.onAction(context, val);
|
||||
|
||||
|
||||
@@ -54,7 +54,6 @@ class RaisedButtonIconBase extends _$RaisedButtonIconBase {
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
|
||||
@override
|
||||
get onAction => (context, val) => MaterialBase.onAction(context, val);
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@ class RowBase extends _$RowBase {
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
|
||||
@override
|
||||
get onAction => (context, val) => MaterialBase.onAction(context, val);
|
||||
|
||||
|
||||
@@ -32,7 +32,6 @@ class ScaffoldBase extends _$ScaffoldBase {
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
|
||||
@override
|
||||
get onAction => (context, val) => MaterialBase.onAction(context, val);
|
||||
|
||||
|
||||
+2
-3
@@ -12,7 +12,8 @@ part 'single_child_scroll_view.g.dart';
|
||||
|
||||
@WidgetClass('SingleChildScrollView')
|
||||
class SingleChildScrollViewBase extends _$SingleChildScrollViewBase {
|
||||
SingleChildScrollViewBase(this.widgetData, this.widgetContext, this.widgetRender);
|
||||
SingleChildScrollViewBase(
|
||||
this.widgetData, this.widgetContext, this.widgetRender);
|
||||
|
||||
@enumClipHardEdge
|
||||
Clip clipBehavior;
|
||||
@@ -37,7 +38,6 @@ class SingleChildScrollViewBase extends _$SingleChildScrollViewBase {
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
|
||||
@override
|
||||
get onAction => (context, val) => MaterialBase.onAction(context, val);
|
||||
|
||||
@@ -49,4 +49,3 @@ class SingleChildScrollViewBase extends _$SingleChildScrollViewBase {
|
||||
@PropertyKey(defaultValue: 'false')
|
||||
bool reverse;
|
||||
}
|
||||
|
||||
|
||||
@@ -30,5 +30,4 @@ class SizedBoxBase extends _$SizedBoxBase {
|
||||
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
}
|
||||
|
||||
@@ -23,7 +23,6 @@ class StackBase extends _$StackBase {
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
|
||||
@override
|
||||
get onAction => (context, val) => MaterialBase.onAction(context, val);
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@ class TextBase extends _$TextBase {
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
|
||||
@override
|
||||
get onAction => (context, val) => MaterialBase.onAction(context, val);
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@ class ThemeBase extends _$ThemeBase {
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
|
||||
@override
|
||||
get onAction => (context, val) => MaterialBase.onAction(context, val);
|
||||
|
||||
|
||||
@@ -41,7 +41,6 @@ class WidgetsAppBase extends _$WidgetsAppBase {
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
|
||||
@override
|
||||
get onAction => (context, val) => MaterialBase.onAction(context, val);
|
||||
|
||||
@@ -80,5 +79,4 @@ class WidgetsAppBase extends _$WidgetsAppBase {
|
||||
// Locale Function(List<Locale>, Iterable<Locale>) localeListResolutionCallback;
|
||||
|
||||
// Locale Function(Locale, Iterable<Locale>) localeResolutionCallback;
|
||||
|
||||
}
|
||||
|
||||
@@ -23,7 +23,6 @@ class WrapBase extends _$WrapBase {
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
|
||||
@override
|
||||
get onAction => (context, val) => MaterialBase.onAction(context, val);
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@ class ConstrainedBoxBase extends _$ConstrainedBoxBase {
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
|
||||
@override
|
||||
get onAction => (context, val) => MaterialBase.onAction(context, val);
|
||||
|
||||
|
||||
@@ -37,7 +37,6 @@ class ContainerBase extends _$ContainerBase {
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
|
||||
@override
|
||||
get onAction => (context, val) => MaterialBase.onAction(context, val);
|
||||
|
||||
|
||||
@@ -33,7 +33,6 @@ class FittedBoxBase extends _$FittedBoxBase {
|
||||
@override
|
||||
final GenerateWidget widgetRender;
|
||||
|
||||
|
||||
@override
|
||||
get onAction => (context, val) => MaterialBase.onAction(context, val);
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user