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),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -287,23 +322,23 @@ class StatelessDataTable extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
flex: 8,
|
||||
child: ScrollConfiguration(
|
||||
behavior: CustomScrollBehavior(),
|
||||
flex: 8,
|
||||
child: ScrollConfiguration(
|
||||
behavior: CustomScrollBehavior(),
|
||||
child: SingleChildScrollView(
|
||||
scrollDirection: Axis.vertical,
|
||||
child: SingleChildScrollView(
|
||||
scrollDirection: Axis.vertical,
|
||||
child: SingleChildScrollView(
|
||||
scrollDirection: Axis.horizontal,
|
||||
child: DataTable(
|
||||
key: _tableKey,
|
||||
columns: columns,
|
||||
sortColumnIndex: sortColumnIndex,
|
||||
sortAscending: sortAscending,
|
||||
onSelectAll: onSelectAll,
|
||||
rows: _getRows(firstRowIndex, rowsPerPage)),
|
||||
),
|
||||
scrollDirection: Axis.horizontal,
|
||||
child: DataTable(
|
||||
key: _tableKey,
|
||||
columns: columns,
|
||||
sortColumnIndex: sortColumnIndex,
|
||||
sortAscending: sortAscending,
|
||||
onSelectAll: onSelectAll,
|
||||
rows: _getRows(firstRowIndex, rowsPerPage)),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
DefaultTextStyle(
|
||||
style: footerTextStyle!,
|
||||
|
||||
@@ -82,7 +82,7 @@ class GridTabItem extends StatelessWidget {
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
return Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: <Widget>[
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
library file_access;
|
||||
|
||||
export 'src/classes/file/file.dart';
|
||||
export 'src/pick_file/pick_file.dart';
|
||||
export 'src/pick_file/pick_file.dart';
|
||||
|
||||
@@ -68,4 +68,4 @@ void printMembers(CompilationUnit unit) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@ export 'package:analyzer/src/dart/ast/ast.dart';
|
||||
export 'package:analyzer/dart/analysis/utilities.dart';
|
||||
export 'package:analyzer/dart/ast/syntactic_entity.dart';
|
||||
export 'package:_fe_analyzer_shared/src/scanner/token_impl.dart';
|
||||
export 'package:analyzer/dart/analysis/results.dart';
|
||||
export 'package:analyzer/dart/analysis/results.dart';
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
// /// This is a doc comment
|
||||
// class MyScreen extends StatelessWidget {
|
||||
// const MyScreen(this.position, {Key key, this.myField = false, this.mySecondField = 1,
|
||||
// const MyScreen(this.position, {Key key, this.myField = false, this.mySecondField = 1,
|
||||
// this.numField = 3,
|
||||
// this.mapField = const {},
|
||||
// this.dateField,
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -26,7 +26,7 @@ class PackageUriResolver {
|
||||
} catch (e) {
|
||||
throw new UsageException(
|
||||
'Error when reading $_dotPackagesFilePath, '
|
||||
'please run pub get first.',
|
||||
'please run pub get first.',
|
||||
'');
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ class PackageUriResolver {
|
||||
if (_packageMap[packageName] == null) {
|
||||
throw new UsageException(
|
||||
'Cannot locate $packageName, '
|
||||
'probably you need to run pub get again',
|
||||
'probably you need to run pub get again',
|
||||
'');
|
||||
}
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ class PageObjectData {
|
||||
.map((element) => new _Variable.fromElement(element))
|
||||
.where((variable) => variable != null)
|
||||
.toList(growable: false)
|
||||
..sort();
|
||||
..sort();
|
||||
|
||||
return new PageObjectData._internal(document, variables);
|
||||
}
|
||||
|
||||
@@ -105,8 +105,8 @@ String _getProjectName(String pubspecFilePath) {
|
||||
} catch (e) {
|
||||
throw new UsageException(
|
||||
'Error happened when reading pubspec.yaml. '
|
||||
'Command generate test should be run '
|
||||
'under root directory of the project.',
|
||||
'Command generate test should be run '
|
||||
'under root directory of the project.',
|
||||
'');
|
||||
}
|
||||
var namePrefix = 'name:';
|
||||
|
||||
@@ -33,7 +33,7 @@ void main() {
|
||||
test('should generate items in parents list', () {
|
||||
var po = new PageObjectData(
|
||||
'<p *ngFor="xxx"><action-button class="good">'
|
||||
'</action-button></p>',
|
||||
'</action-button></p>',
|
||||
);
|
||||
expect(po.variables.first.getterString,
|
||||
'Future<List<PageLoaderElement>> get good => _getGood();');
|
||||
@@ -53,13 +53,13 @@ void main() {
|
||||
test('should sort generated items', () {
|
||||
var po1 = new PageObjectData(
|
||||
'<action-button class="good"></action-button>'
|
||||
'<action-button class="bad"></action-button>',
|
||||
'<action-button class="bad"></action-button>',
|
||||
);
|
||||
expect(po1.variables.first.name, 'Bad');
|
||||
expect(po1.variables.last.name, 'Good');
|
||||
var po2 = new PageObjectData(
|
||||
'<action-button class="good"></action-button>'
|
||||
'<action-button class="bad"></action-button>',
|
||||
'<action-button class="bad"></action-button>',
|
||||
);
|
||||
expect(po2.variables.first.name, 'Bad');
|
||||
expect(po2.variables.last.name, 'Good');
|
||||
@@ -91,8 +91,8 @@ void main() {
|
||||
test('should choose correct selector.', () {
|
||||
var po = new PageObjectData(
|
||||
'<some-widget class="cool"></some-widget>'
|
||||
'<some-widget class="cool" id="cooler"></some-widget>'
|
||||
'<some-widget></some-widget>',
|
||||
'<some-widget class="cool" id="cooler"></some-widget>'
|
||||
'<some-widget></some-widget>',
|
||||
);
|
||||
expect(po.variables.length, 3);
|
||||
expect(po.variables[0].selector.toString(), "@ByClass('cool')");
|
||||
@@ -103,7 +103,7 @@ void main() {
|
||||
test('should work with selectors with attributes', () {
|
||||
var po = new PageObjectData(
|
||||
'<some-cell class="field-class"></some-cell>'
|
||||
'<some-cell id="fieldWithId"></some-cell>',
|
||||
'<some-cell id="fieldWithId"></some-cell>',
|
||||
);
|
||||
expect(po.variables[0].selector.toString(), "@ByClass('field-class')");
|
||||
expect(po.variables[1].selector.toString(), "@ById('fieldWithId')");
|
||||
|
||||
+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;
|
||||
|
||||
@@ -3,10 +3,10 @@ import 'package:flutter/material.dart';
|
||||
export 'package:flutter/material.dart';
|
||||
|
||||
abstract class BaseWidget extends Base {
|
||||
Widget render(BuildContext context);
|
||||
Widget render(BuildContext context);
|
||||
}
|
||||
|
||||
abstract class Base {
|
||||
String get description;
|
||||
Map<String, dynamic> toJson();
|
||||
String get description;
|
||||
Map<String, dynamic> toJson();
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AboutDialogBase extends BaseWidget {
|
||||
AboutDialogBase();
|
||||
AboutDialogBase();
|
||||
|
||||
factory AboutDialogBase.fromJson(Map<String, dynamic> data) {
|
||||
return AboutDialogBase();
|
||||
}
|
||||
factory AboutDialogBase.fromJson(Map<String, dynamic> data) {
|
||||
return AboutDialogBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
An about box. This is a dialog box with the application's icon, name,
|
||||
version number, and copyright, plus a button to show licenses for software
|
||||
used by the application.
|
||||
@@ -27,13 +27,13 @@ The licenses shown on the [LicensePage] are those returned by the
|
||||
[LicenseRegistry] API, which can be used to add more licenses to the list.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AboutListTileBase extends BaseWidget {
|
||||
AboutListTileBase();
|
||||
AboutListTileBase();
|
||||
|
||||
factory AboutListTileBase.fromJson(Map<String, dynamic> data) {
|
||||
return AboutListTileBase();
|
||||
}
|
||||
factory AboutListTileBase.fromJson(Map<String, dynamic> data) {
|
||||
return AboutListTileBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A [ListTile] that shows an about box.
|
||||
|
||||
This widget is often added to an app's [Drawer]. When tapped it shows
|
||||
@@ -93,13 +93,13 @@ uses an [AboutListTile], and the second uses the [showAboutDialog] function.
|
||||
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AbsorbPointerBase extends BaseWidget {
|
||||
AbsorbPointerBase();
|
||||
AbsorbPointerBase();
|
||||
|
||||
factory AbsorbPointerBase.fromJson(Map<String, dynamic> data) {
|
||||
return AbsorbPointerBase();
|
||||
}
|
||||
factory AbsorbPointerBase.fromJson(Map<String, dynamic> data) {
|
||||
return AbsorbPointerBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A widget that absorbs pointers during hit testing.
|
||||
|
||||
When [absorbing] is true, this widget prevents its subtree from receiving
|
||||
@@ -25,13 +25,13 @@ See also:
|
||||
events but is itself invisible to hit testing.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AbstractNodeBase extends BaseWidget {
|
||||
AbstractNodeBase();
|
||||
AbstractNodeBase();
|
||||
|
||||
factory AbstractNodeBase.fromJson(Map<String, dynamic> data) {
|
||||
return AbstractNodeBase();
|
||||
}
|
||||
factory AbstractNodeBase.fromJson(Map<String, dynamic> data) {
|
||||
return AbstractNodeBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
An abstract node in a tree.
|
||||
|
||||
AbstractNode has as notion of depth, attachment, and parent, but does not
|
||||
@@ -42,13 +42,13 @@ moved to be a child of A, sibling of B, then the numbers won't change. C's
|
||||
[adoptChild] and [dropChild] methods.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,25 +1,25 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AccumulatorBase extends BaseWidget {
|
||||
AccumulatorBase();
|
||||
AccumulatorBase();
|
||||
|
||||
factory AccumulatorBase.fromJson(Map<String, dynamic> data) {
|
||||
return AccumulatorBase();
|
||||
}
|
||||
factory AccumulatorBase.fromJson(Map<String, dynamic> data) {
|
||||
return AccumulatorBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Mutable wrapper of an integer that can be passed by reference to track a
|
||||
value across a recursive stack.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class ActionChipBase extends BaseWidget {
|
||||
ActionChipBase();
|
||||
ActionChipBase();
|
||||
|
||||
factory ActionChipBase.fromJson(Map<String, dynamic> data) {
|
||||
return ActionChipBase();
|
||||
}
|
||||
factory ActionChipBase.fromJson(Map<String, dynamic> data) {
|
||||
return ActionChipBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A material design action chip.
|
||||
|
||||
Action chips are a set of options which trigger an action related to primary
|
||||
@@ -58,13 +58,13 @@ See also:
|
||||
* <https://material.io/design/components/chips.html>
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class ActionDispatcherBase extends BaseWidget {
|
||||
ActionDispatcherBase();
|
||||
ActionDispatcherBase();
|
||||
|
||||
factory ActionDispatcherBase.fromJson(Map<String, dynamic> data) {
|
||||
return ActionDispatcherBase();
|
||||
}
|
||||
factory ActionDispatcherBase.fromJson(Map<String, dynamic> data) {
|
||||
return ActionDispatcherBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
An action dispatcher that simply invokes the actions given to it.
|
||||
|
||||
See also:
|
||||
@@ -19,13 +19,13 @@ See also:
|
||||
an [Action].
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class ActionListenerBase extends BaseWidget {
|
||||
ActionListenerBase();
|
||||
ActionListenerBase();
|
||||
|
||||
factory ActionListenerBase.fromJson(Map<String, dynamic> data) {
|
||||
return ActionListenerBase();
|
||||
}
|
||||
factory ActionListenerBase.fromJson(Map<String, dynamic> data) {
|
||||
return ActionListenerBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A helper widget for making sure that listeners on an action are removed properly.
|
||||
|
||||
Listeners on the [Action] class must have their listener callbacks removed
|
||||
@@ -22,13 +22,13 @@ this widget. If you are using an [Action] outside of a widget context, then
|
||||
you must call removeListener yourself.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class ActionsBase extends BaseWidget {
|
||||
ActionsBase();
|
||||
ActionsBase();
|
||||
|
||||
factory ActionsBase.fromJson(Map<String, dynamic> data) {
|
||||
return ActionsBase();
|
||||
}
|
||||
factory ActionsBase.fromJson(Map<String, dynamic> data) {
|
||||
return ActionsBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A widget that establishes an [ActionDispatcher] and a map of [Intent] to
|
||||
[Action] to be used by its descendants when invoking an [Action].
|
||||
|
||||
@@ -25,13 +25,13 @@ See also:
|
||||
* [Shortcuts], a widget used to bind key combinations to [Intent]s.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,24 +1,24 @@
|
||||
import '../base.dart';
|
||||
|
||||
class ActivateIntentBase extends BaseWidget {
|
||||
ActivateIntentBase();
|
||||
ActivateIntentBase();
|
||||
|
||||
factory ActivateIntentBase.fromJson(Map<String, dynamic> data) {
|
||||
return ActivateIntentBase();
|
||||
}
|
||||
factory ActivateIntentBase.fromJson(Map<String, dynamic> data) {
|
||||
return ActivateIntentBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
An intent that activates the currently focused control.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AlertDialogBase extends BaseWidget {
|
||||
AlertDialogBase();
|
||||
AlertDialogBase();
|
||||
|
||||
factory AlertDialogBase.fromJson(Map<String, dynamic> data) {
|
||||
return AlertDialogBase();
|
||||
}
|
||||
factory AlertDialogBase.fromJson(Map<String, dynamic> data) {
|
||||
return AlertDialogBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A material design alert dialog.
|
||||
|
||||
An alert dialog informs the user about situations that require
|
||||
@@ -80,13 +80,13 @@ See also:
|
||||
* <https://material.io/design/components/dialogs.html#alert-dialog>
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AlignBase extends BaseWidget {
|
||||
AlignBase();
|
||||
AlignBase();
|
||||
|
||||
factory AlignBase.fromJson(Map<String, dynamic> data) {
|
||||
return AlignBase();
|
||||
}
|
||||
factory AlignBase.fromJson(Map<String, dynamic> data) {
|
||||
return AlignBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A widget that aligns its child within itself and optionally sizes itself
|
||||
based on the child's size.
|
||||
|
||||
@@ -139,13 +139,13 @@ See also:
|
||||
* The [catalog of layout widgets](https://flutter.dev/widgets/layout/).
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AlignTransitionBase extends BaseWidget {
|
||||
AlignTransitionBase();
|
||||
AlignTransitionBase();
|
||||
|
||||
factory AlignTransitionBase.fromJson(Map<String, dynamic> data) {
|
||||
return AlignTransitionBase();
|
||||
}
|
||||
factory AlignTransitionBase.fromJson(Map<String, dynamic> data) {
|
||||
return AlignTransitionBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Animated version of an [Align] that animates its [Align.alignment] property.
|
||||
|
||||
Here's an illustration of the [DecoratedBoxTransition] widget, with it's
|
||||
@@ -31,13 +31,13 @@ See also:
|
||||
relative to its normal position.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AlignmentBase extends BaseWidget {
|
||||
AlignmentBase();
|
||||
AlignmentBase();
|
||||
|
||||
factory AlignmentBase.fromJson(Map<String, dynamic> data) {
|
||||
return AlignmentBase();
|
||||
}
|
||||
factory AlignmentBase.fromJson(Map<String, dynamic> data) {
|
||||
return AlignmentBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A point within a rectangle.
|
||||
|
||||
`Alignment(0.0, 0.0)` represents the center of the rectangle. The distance
|
||||
@@ -51,13 +51,13 @@ See also:
|
||||
whether the horizontal direction depends on the [TextDirection].
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AlignmentDirectionalBase extends BaseWidget {
|
||||
AlignmentDirectionalBase();
|
||||
AlignmentDirectionalBase();
|
||||
|
||||
factory AlignmentDirectionalBase.fromJson(Map<String, dynamic> data) {
|
||||
return AlignmentDirectionalBase();
|
||||
}
|
||||
factory AlignmentDirectionalBase.fromJson(Map<String, dynamic> data) {
|
||||
return AlignmentDirectionalBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
An offset that's expressed as a fraction of a [Size], but whose horizontal
|
||||
component is dependent on the writing direction.
|
||||
|
||||
@@ -22,13 +22,13 @@ See also:
|
||||
whose horizontal component does not depend on the text direction).
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AlignmentGeometryTweenBase extends BaseWidget {
|
||||
AlignmentGeometryTweenBase();
|
||||
AlignmentGeometryTweenBase();
|
||||
|
||||
factory AlignmentGeometryTweenBase.fromJson(Map<String, dynamic> data) {
|
||||
return AlignmentGeometryTweenBase();
|
||||
}
|
||||
factory AlignmentGeometryTweenBase.fromJson(Map<String, dynamic> data) {
|
||||
return AlignmentGeometryTweenBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
An interpolation between two [AlignmentGeometry].
|
||||
|
||||
This class specializes the interpolation of [Tween<AlignmentGeometry>]
|
||||
@@ -21,13 +21,13 @@ See also:
|
||||
* [AlignmentTween], which interpolates between two [Alignment] objects.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AlignmentTweenBase extends BaseWidget {
|
||||
AlignmentTweenBase();
|
||||
AlignmentTweenBase();
|
||||
|
||||
factory AlignmentTweenBase.fromJson(Map<String, dynamic> data) {
|
||||
return AlignmentTweenBase();
|
||||
}
|
||||
factory AlignmentTweenBase.fromJson(Map<String, dynamic> data) {
|
||||
return AlignmentTweenBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
An interpolation between two alignments.
|
||||
|
||||
This class specializes the interpolation of [Tween<Alignment>] to be
|
||||
@@ -22,13 +22,13 @@ See also:
|
||||
[AlignmentGeometry] objects.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+16
-15
@@ -1,14 +1,15 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AlwaysScrollableScrollPhysicsBase extends BaseWidget {
|
||||
AlwaysScrollableScrollPhysicsBase();
|
||||
AlwaysScrollableScrollPhysicsBase();
|
||||
|
||||
factory AlwaysScrollableScrollPhysicsBase.fromJson(Map<String, dynamic> data) {
|
||||
return AlwaysScrollableScrollPhysicsBase();
|
||||
}
|
||||
factory AlwaysScrollableScrollPhysicsBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return AlwaysScrollableScrollPhysicsBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Scroll physics that always lets the user scroll.
|
||||
|
||||
This overrides the default behavior which is to disable scrolling
|
||||
@@ -29,13 +30,13 @@ See also:
|
||||
found on Android.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,26 +1,26 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AlwaysStoppedAnimationBase extends BaseWidget {
|
||||
AlwaysStoppedAnimationBase();
|
||||
AlwaysStoppedAnimationBase();
|
||||
|
||||
factory AlwaysStoppedAnimationBase.fromJson(Map<String, dynamic> data) {
|
||||
return AlwaysStoppedAnimationBase();
|
||||
}
|
||||
factory AlwaysStoppedAnimationBase.fromJson(Map<String, dynamic> data) {
|
||||
return AlwaysStoppedAnimationBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
An animation that is always stopped at a given value.
|
||||
|
||||
The [status] is always [AnimationStatus.forward].
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,24 +1,24 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AndroidMotionEventBase extends BaseWidget {
|
||||
AndroidMotionEventBase();
|
||||
AndroidMotionEventBase();
|
||||
|
||||
factory AndroidMotionEventBase.fromJson(Map<String, dynamic> data) {
|
||||
return AndroidMotionEventBase();
|
||||
}
|
||||
factory AndroidMotionEventBase.fromJson(Map<String, dynamic> data) {
|
||||
return AndroidMotionEventBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A Dart version of Android's [MotionEvent](https://developer.android.com/reference/android/view/MotionEvent).
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,26 +1,26 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AndroidPointerCoordsBase extends BaseWidget {
|
||||
AndroidPointerCoordsBase();
|
||||
AndroidPointerCoordsBase();
|
||||
|
||||
factory AndroidPointerCoordsBase.fromJson(Map<String, dynamic> data) {
|
||||
return AndroidPointerCoordsBase();
|
||||
}
|
||||
factory AndroidPointerCoordsBase.fromJson(Map<String, dynamic> data) {
|
||||
return AndroidPointerCoordsBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Position information for an Android pointer.
|
||||
|
||||
A Dart version of Android's [MotionEvent.PointerCoords](https://developer.android.com/reference/android/view/MotionEvent.PointerCoords).
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,26 +1,26 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AndroidPointerPropertiesBase extends BaseWidget {
|
||||
AndroidPointerPropertiesBase();
|
||||
AndroidPointerPropertiesBase();
|
||||
|
||||
factory AndroidPointerPropertiesBase.fromJson(Map<String, dynamic> data) {
|
||||
return AndroidPointerPropertiesBase();
|
||||
}
|
||||
factory AndroidPointerPropertiesBase.fromJson(Map<String, dynamic> data) {
|
||||
return AndroidPointerPropertiesBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Properties of an Android pointer.
|
||||
|
||||
A Dart version of Android's [MotionEvent.PointerProperties](https://developer.android.com/reference/android/view/MotionEvent.PointerProperties).
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AndroidViewBase extends BaseWidget {
|
||||
AndroidViewBase();
|
||||
AndroidViewBase();
|
||||
|
||||
factory AndroidViewBase.fromJson(Map<String, dynamic> data) {
|
||||
return AndroidViewBase();
|
||||
}
|
||||
factory AndroidViewBase.fromJson(Map<String, dynamic> data) {
|
||||
return AndroidViewBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Embeds an Android view in the Widget hierarchy.
|
||||
|
||||
Requires Android API level 20 or greater.
|
||||
@@ -53,13 +53,13 @@ or it has a [GlobalKey] and it's moved within the tree, it will not be disposed.
|
||||
{@endtemplate}
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AndroidViewSurfaceBase extends BaseWidget {
|
||||
AndroidViewSurfaceBase();
|
||||
AndroidViewSurfaceBase();
|
||||
|
||||
factory AndroidViewSurfaceBase.fromJson(Map<String, dynamic> data) {
|
||||
return AndroidViewSurfaceBase();
|
||||
}
|
||||
factory AndroidViewSurfaceBase.fromJson(Map<String, dynamic> data) {
|
||||
return AndroidViewSurfaceBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Integrates an Android view with Flutter's compositor, touch, and semantics subsystems.
|
||||
|
||||
The compositor integration is done by adding a [PlatformViewLayer] to the layer tree. [PlatformViewLayer]
|
||||
@@ -26,13 +26,13 @@ See also:
|
||||
* [UiKitView] which embeds an iOS platform view in the widget hierarchy.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnimatedAlignBase extends BaseWidget {
|
||||
AnimatedAlignBase();
|
||||
AnimatedAlignBase();
|
||||
|
||||
factory AnimatedAlignBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedAlignBase();
|
||||
}
|
||||
factory AnimatedAlignBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedAlignBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Animated version of [Align] which automatically transitions the child's
|
||||
position over a given duration whenever the given [alignment] changes.
|
||||
|
||||
@@ -68,13 +68,13 @@ See also:
|
||||
position changes.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnimatedBuilderBase extends BaseWidget {
|
||||
AnimatedBuilderBase();
|
||||
AnimatedBuilderBase();
|
||||
|
||||
factory AnimatedBuilderBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedBuilderBase();
|
||||
}
|
||||
factory AnimatedBuilderBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedBuilderBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A general-purpose widget for building animations.
|
||||
|
||||
AnimatedBuilder is useful for more complex widgets that wish to include
|
||||
@@ -90,13 +90,13 @@ See also:
|
||||
without requiring manual management of an [AnimationController].
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnimatedContainerBase extends BaseWidget {
|
||||
AnimatedContainerBase();
|
||||
AnimatedContainerBase();
|
||||
|
||||
factory AnimatedContainerBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedContainerBase();
|
||||
}
|
||||
factory AnimatedContainerBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedContainerBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Animated version of [Container] that gradually changes its values over a period of time.
|
||||
|
||||
The [AnimatedContainer] will automatically animate between the old and
|
||||
@@ -71,13 +71,13 @@ See also:
|
||||
* [AnimatedCrossFade], which fades between two children and interpolates their sizes.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnimatedCrossFadeBase extends BaseWidget {
|
||||
AnimatedCrossFadeBase();
|
||||
AnimatedCrossFadeBase();
|
||||
|
||||
factory AnimatedCrossFadeBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedCrossFadeBase();
|
||||
}
|
||||
factory AnimatedCrossFadeBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedCrossFadeBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A widget that cross-fades between two given children and animates itself
|
||||
between their sizes.
|
||||
|
||||
@@ -57,13 +57,13 @@ See also:
|
||||
automatically change size.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnimatedDefaultTextStyleBase extends BaseWidget {
|
||||
AnimatedDefaultTextStyleBase();
|
||||
AnimatedDefaultTextStyleBase();
|
||||
|
||||
factory AnimatedDefaultTextStyleBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedDefaultTextStyleBase();
|
||||
}
|
||||
factory AnimatedDefaultTextStyleBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedDefaultTextStyleBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Animated version of [DefaultTextStyle] which automatically transitions the
|
||||
default text style (the text style to apply to descendant [Text] widgets
|
||||
without explicit style) over a given duration whenever the given style
|
||||
@@ -31,13 +31,13 @@ it also requires more development overhead as you have to manually manage
|
||||
the lifecycle of the underlying [AnimationController].
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnimatedIconBase extends BaseWidget {
|
||||
AnimatedIconBase();
|
||||
AnimatedIconBase();
|
||||
|
||||
factory AnimatedIconBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedIconBase();
|
||||
}
|
||||
factory AnimatedIconBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedIconBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Shows an animated icon at a given animation [progress].
|
||||
|
||||
The available icons are specified in [AnimatedIcons].
|
||||
@@ -28,13 +28,13 @@ AnimatedIcon(
|
||||
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnimatedListBase extends BaseWidget {
|
||||
AnimatedListBase();
|
||||
AnimatedListBase();
|
||||
|
||||
factory AnimatedListBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedListBase();
|
||||
}
|
||||
factory AnimatedListBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedListBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A scrolling container that animates items when they are inserted or removed.
|
||||
|
||||
This widget's [AnimatedListState] can be used to dynamically insert or
|
||||
@@ -238,13 +238,13 @@ See also:
|
||||
or removed from a list.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnimatedListStateBase extends BaseWidget {
|
||||
AnimatedListStateBase();
|
||||
AnimatedListStateBase();
|
||||
|
||||
factory AnimatedListStateBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedListStateBase();
|
||||
}
|
||||
factory AnimatedListStateBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedListStateBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
The state for a scrolling container that animates items when they are
|
||||
inserted or removed.
|
||||
|
||||
@@ -35,13 +35,13 @@ listKey.currentState.insert(123);
|
||||
with the static [AnimatedList.of] method.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnimatedModalBarrierBase extends BaseWidget {
|
||||
AnimatedModalBarrierBase();
|
||||
AnimatedModalBarrierBase();
|
||||
|
||||
factory AnimatedModalBarrierBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedModalBarrierBase();
|
||||
}
|
||||
factory AnimatedModalBarrierBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedModalBarrierBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A widget that prevents the user from interacting with widgets behind itself,
|
||||
and can be configured with an animated color value.
|
||||
|
||||
@@ -27,13 +27,13 @@ See also:
|
||||
* [ModalRoute], which uses this widget.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnimatedOpacityBase extends BaseWidget {
|
||||
AnimatedOpacityBase();
|
||||
AnimatedOpacityBase();
|
||||
|
||||
factory AnimatedOpacityBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedOpacityBase();
|
||||
}
|
||||
factory AnimatedOpacityBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedOpacityBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Animated version of [Opacity] which automatically transitions the child's
|
||||
opacity over a given duration whenever the given opacity changes.
|
||||
|
||||
@@ -67,13 +67,13 @@ See also:
|
||||
opacity over a given duration whenever the given opacity changes.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnimatedPaddingBase extends BaseWidget {
|
||||
AnimatedPaddingBase();
|
||||
AnimatedPaddingBase();
|
||||
|
||||
factory AnimatedPaddingBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedPaddingBase();
|
||||
}
|
||||
factory AnimatedPaddingBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedPaddingBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Animated version of [Padding] which automatically transitions the
|
||||
indentation over a given duration whenever the given inset changes.
|
||||
|
||||
@@ -26,13 +26,13 @@ See also:
|
||||
[AnimatedAlign.alignment] changes.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnimatedPhysicalModelBase extends BaseWidget {
|
||||
AnimatedPhysicalModelBase();
|
||||
AnimatedPhysicalModelBase();
|
||||
|
||||
factory AnimatedPhysicalModelBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedPhysicalModelBase();
|
||||
}
|
||||
factory AnimatedPhysicalModelBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedPhysicalModelBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Animated version of [PhysicalModel].
|
||||
|
||||
The [borderRadius] and [elevation] are animated.
|
||||
@@ -25,13 +25,13 @@ of [Curves.fastOutSlowIn].
|
||||
{@animation 250 266 https://flutter.github.io/assets-for-api-docs/assets/widgets/animated_physical_model.mp4}
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnimatedPositionedBase extends BaseWidget {
|
||||
AnimatedPositionedBase();
|
||||
AnimatedPositionedBase();
|
||||
|
||||
factory AnimatedPositionedBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedPositionedBase();
|
||||
}
|
||||
factory AnimatedPositionedBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedPositionedBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Animated version of [Positioned] which automatically transitions the child's
|
||||
position over a given duration whenever the given position changes.
|
||||
|
||||
@@ -42,13 +42,13 @@ See also:
|
||||
[PositionedDirectional]).
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+16
-15
@@ -1,14 +1,15 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnimatedPositionedDirectionalBase extends BaseWidget {
|
||||
AnimatedPositionedDirectionalBase();
|
||||
AnimatedPositionedDirectionalBase();
|
||||
|
||||
factory AnimatedPositionedDirectionalBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedPositionedDirectionalBase();
|
||||
}
|
||||
factory AnimatedPositionedDirectionalBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return AnimatedPositionedDirectionalBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Animated version of [PositionedDirectional] which automatically transitions
|
||||
the child's position over a given duration whenever the given position
|
||||
changes.
|
||||
@@ -35,13 +36,13 @@ See also:
|
||||
same as this widget, but for animating [Positioned]).
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnimatedSizeBase extends BaseWidget {
|
||||
AnimatedSizeBase();
|
||||
AnimatedSizeBase();
|
||||
|
||||
factory AnimatedSizeBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedSizeBase();
|
||||
}
|
||||
factory AnimatedSizeBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedSizeBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Animated widget that automatically transitions its size over a given
|
||||
duration whenever the given child's size changes.
|
||||
|
||||
@@ -52,13 +52,13 @@ See also:
|
||||
* [SizeTransition], which changes its size based on an [Animation].
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnimatedSwitcherBase extends BaseWidget {
|
||||
AnimatedSwitcherBase();
|
||||
AnimatedSwitcherBase();
|
||||
|
||||
factory AnimatedSwitcherBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedSwitcherBase();
|
||||
}
|
||||
factory AnimatedSwitcherBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedSwitcherBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A widget that by default does a cross-fade between a new widget and the
|
||||
widget previously set on the [AnimatedSwitcher] as a child.
|
||||
|
||||
@@ -88,13 +88,13 @@ See also:
|
||||
* [FadeTransition], which [AnimatedSwitcher] uses to perform the transition.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnimatedThemeBase extends BaseWidget {
|
||||
AnimatedThemeBase();
|
||||
AnimatedThemeBase();
|
||||
|
||||
factory AnimatedThemeBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedThemeBase();
|
||||
}
|
||||
factory AnimatedThemeBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimatedThemeBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Animated version of [Theme] which automatically transitions the colors,
|
||||
etc, over a given duration whenever the given theme changes.
|
||||
|
||||
@@ -25,13 +25,13 @@ See also:
|
||||
the [MaterialApp.theme] argument.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnimationControllerBase extends BaseWidget {
|
||||
AnimationControllerBase();
|
||||
AnimationControllerBase();
|
||||
|
||||
factory AnimationControllerBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimationControllerBase();
|
||||
}
|
||||
factory AnimationControllerBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimationControllerBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A controller for an animation.
|
||||
|
||||
This class lets you perform tasks such as:
|
||||
@@ -152,13 +152,13 @@ See also:
|
||||
range of values of other types.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,27 +1,27 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnimationMaxBase extends BaseWidget {
|
||||
AnimationMaxBase();
|
||||
AnimationMaxBase();
|
||||
|
||||
factory AnimationMaxBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimationMaxBase();
|
||||
}
|
||||
factory AnimationMaxBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimationMaxBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
An animation that tracks the maximum of two other animations.
|
||||
|
||||
The [value] of this animation is the maximum of the values of
|
||||
[first] and [next].
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnimationMeanBase extends BaseWidget {
|
||||
AnimationMeanBase();
|
||||
AnimationMeanBase();
|
||||
|
||||
factory AnimationMeanBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimationMeanBase();
|
||||
}
|
||||
factory AnimationMeanBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimationMeanBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
An animation of [double]s that tracks the mean of two other animations.
|
||||
|
||||
The [status] of this animation is the status of the `right` animation if it is
|
||||
@@ -18,13 +18,13 @@ The [value] of this animation is the [double] that represents the mean value
|
||||
of the values of the `left` and `right` animations.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,27 +1,27 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnimationMinBase extends BaseWidget {
|
||||
AnimationMinBase();
|
||||
AnimationMinBase();
|
||||
|
||||
factory AnimationMinBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimationMinBase();
|
||||
}
|
||||
factory AnimationMinBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnimationMinBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
An animation that tracks the minimum of two other animations.
|
||||
|
||||
The [value] of this animation is the maximum of the values of
|
||||
[first] and [next].
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnnotatedRegionBase extends BaseWidget {
|
||||
AnnotatedRegionBase();
|
||||
AnnotatedRegionBase();
|
||||
|
||||
factory AnnotatedRegionBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnnotatedRegionBase();
|
||||
}
|
||||
factory AnnotatedRegionBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnnotatedRegionBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Annotates a region of the layer tree with a value.
|
||||
|
||||
See also:
|
||||
@@ -17,13 +17,13 @@ See also:
|
||||
* [AnnotatedRegionLayer], the layer pushed into the layer tree.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnnotatedRegionLayerBase extends BaseWidget {
|
||||
AnnotatedRegionLayerBase();
|
||||
AnnotatedRegionLayerBase();
|
||||
|
||||
factory AnnotatedRegionLayerBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnnotatedRegionLayerBase();
|
||||
}
|
||||
factory AnnotatedRegionLayerBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnnotatedRegionLayerBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A composited layer which annotates its children with a value. Pushing this
|
||||
layer to the tree is the common way of adding an annotation.
|
||||
|
||||
@@ -32,13 +32,13 @@ This layer is opaque to a type of annotation if any child is also opaque, or
|
||||
if [opaque] is true and the layer's annotation is added.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnnotationEntryBase extends BaseWidget {
|
||||
AnnotationEntryBase();
|
||||
AnnotationEntryBase();
|
||||
|
||||
factory AnnotationEntryBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnnotationEntryBase();
|
||||
}
|
||||
factory AnnotationEntryBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnnotationEntryBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Information collected for an annotation that is found in the layer tree.
|
||||
|
||||
See also:
|
||||
@@ -16,13 +16,13 @@ See also:
|
||||
* [Layer.findAnnotations], which create and use objects of this class.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnnotationResultBase extends BaseWidget {
|
||||
AnnotationResultBase();
|
||||
AnnotationResultBase();
|
||||
|
||||
factory AnnotationResultBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnnotationResultBase();
|
||||
}
|
||||
factory AnnotationResultBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnnotationResultBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Information collected about a list of annotations that are found in the
|
||||
layer tree.
|
||||
|
||||
@@ -19,13 +19,13 @@ See also:
|
||||
use an object of this class.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AnnounceSemanticsEventBase extends BaseWidget {
|
||||
AnnounceSemanticsEventBase();
|
||||
AnnounceSemanticsEventBase();
|
||||
|
||||
factory AnnounceSemanticsEventBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnnounceSemanticsEventBase();
|
||||
}
|
||||
factory AnnounceSemanticsEventBase.fromJson(Map<String, dynamic> data) {
|
||||
return AnnounceSemanticsEventBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
An event for a semantic announcement.
|
||||
|
||||
This should be used for announcement that are not seamlessly announced by
|
||||
@@ -21,13 +21,13 @@ When possible, prefer using mechanisms like [Semantics] to implicitly
|
||||
trigger announcements over using this event.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AppBarBase extends BaseWidget {
|
||||
AppBarBase();
|
||||
AppBarBase();
|
||||
|
||||
factory AppBarBase.fromJson(Map<String, dynamic> data) {
|
||||
return AppBarBase();
|
||||
}
|
||||
factory AppBarBase.fromJson(Map<String, dynamic> data) {
|
||||
return AppBarBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A material design app bar.
|
||||
|
||||
An app bar consists of a toolbar and potentially other widgets, such as a
|
||||
@@ -129,13 +129,13 @@ See also:
|
||||
[custom bottom widgets](https://flutter.dev/docs/catalog/samples/app-bar-bottom).
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AppBarThemeBase extends BaseWidget {
|
||||
AppBarThemeBase();
|
||||
AppBarThemeBase();
|
||||
|
||||
factory AppBarThemeBase.fromJson(Map<String, dynamic> data) {
|
||||
return AppBarThemeBase();
|
||||
}
|
||||
factory AppBarThemeBase.fromJson(Map<String, dynamic> data) {
|
||||
return AppBarThemeBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Defines default property values for descendant [AppBar] widgets.
|
||||
|
||||
Descendant widgets obtain the current [AppBarTheme] object using
|
||||
@@ -28,13 +28,13 @@ See also:
|
||||
application.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+16
-15
@@ -1,14 +1,15 @@
|
||||
import '../base.dart';
|
||||
|
||||
class ApplicationSwitcherDescriptionBase extends BaseWidget {
|
||||
ApplicationSwitcherDescriptionBase();
|
||||
ApplicationSwitcherDescriptionBase();
|
||||
|
||||
factory ApplicationSwitcherDescriptionBase.fromJson(Map<String, dynamic> data) {
|
||||
return ApplicationSwitcherDescriptionBase();
|
||||
}
|
||||
factory ApplicationSwitcherDescriptionBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return ApplicationSwitcherDescriptionBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Specifies a description of the application that is pertinent to the
|
||||
embedder's application switcher (also known as "recent tasks") user
|
||||
interface.
|
||||
@@ -16,13 +17,13 @@ interface.
|
||||
Used by [SystemChrome.setApplicationSwitcherDescription].
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AspectRatioBase extends BaseWidget {
|
||||
AspectRatioBase();
|
||||
AspectRatioBase();
|
||||
|
||||
factory AspectRatioBase.fromJson(Map<String, dynamic> data) {
|
||||
return AspectRatioBase();
|
||||
}
|
||||
factory AspectRatioBase.fromJson(Map<String, dynamic> data) {
|
||||
return AspectRatioBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A widget that attempts to size the child to a specific aspect ratio.
|
||||
|
||||
The widget first tries the largest width permitted by the layout
|
||||
@@ -49,13 +49,13 @@ See also:
|
||||
* The [catalog of layout widgets](https://flutter.dev/widgets/layout/).
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,26 +1,26 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AssetBundleImageKeyBase extends BaseWidget {
|
||||
AssetBundleImageKeyBase();
|
||||
AssetBundleImageKeyBase();
|
||||
|
||||
factory AssetBundleImageKeyBase.fromJson(Map<String, dynamic> data) {
|
||||
return AssetBundleImageKeyBase();
|
||||
}
|
||||
factory AssetBundleImageKeyBase.fromJson(Map<String, dynamic> data) {
|
||||
return AssetBundleImageKeyBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Key for the image obtained by an [AssetImage] or [ExactAssetImage].
|
||||
|
||||
This is used to identify the precise resource in the [imageCache].
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AssetImageBase extends BaseWidget {
|
||||
AssetImageBase();
|
||||
AssetImageBase();
|
||||
|
||||
factory AssetImageBase.fromJson(Map<String, dynamic> data) {
|
||||
return AssetImageBase();
|
||||
}
|
||||
factory AssetImageBase.fromJson(Map<String, dynamic> data) {
|
||||
return AssetImageBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Fetches an image from an [AssetBundle], having determined the exact image to
|
||||
use based on the context.
|
||||
|
||||
@@ -117,13 +117,13 @@ See also:
|
||||
when used without a scale.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AsyncSnapshotBase extends BaseWidget {
|
||||
AsyncSnapshotBase();
|
||||
AsyncSnapshotBase();
|
||||
|
||||
factory AsyncSnapshotBase.fromJson(Map<String, dynamic> data) {
|
||||
return AsyncSnapshotBase();
|
||||
}
|
||||
factory AsyncSnapshotBase.fromJson(Map<String, dynamic> data) {
|
||||
return AsyncSnapshotBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Immutable representation of the most recent interaction with an asynchronous
|
||||
computation.
|
||||
|
||||
@@ -20,13 +20,13 @@ See also:
|
||||
with a [Future].
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,26 +1,26 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AutofillConfigurationBase extends BaseWidget {
|
||||
AutofillConfigurationBase();
|
||||
AutofillConfigurationBase();
|
||||
|
||||
factory AutofillConfigurationBase.fromJson(Map<String, dynamic> data) {
|
||||
return AutofillConfigurationBase();
|
||||
}
|
||||
factory AutofillConfigurationBase.fromJson(Map<String, dynamic> data) {
|
||||
return AutofillConfigurationBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A collection of autofill related information that represents an [AutofillClient].
|
||||
|
||||
Typically used in [TextInputConfiguration.autofillConfiguration].
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AutofillGroupBase extends BaseWidget {
|
||||
AutofillGroupBase();
|
||||
AutofillGroupBase();
|
||||
|
||||
factory AutofillGroupBase.fromJson(Map<String, dynamic> data) {
|
||||
return AutofillGroupBase();
|
||||
}
|
||||
factory AutofillGroupBase.fromJson(Map<String, dynamic> data) {
|
||||
return AutofillGroupBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
An [AutofillScope] widget that groups [AutofillClient]s together.
|
||||
|
||||
[AutofillClient]s that share the same closest [AutofillGroup] ancestor must
|
||||
@@ -133,13 +133,13 @@ See also:
|
||||
clean up actions to be run when a topmost [AutofillGroup] is disposed.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AutofillGroupStateBase extends BaseWidget {
|
||||
AutofillGroupStateBase();
|
||||
AutofillGroupStateBase();
|
||||
|
||||
factory AutofillGroupStateBase.fromJson(Map<String, dynamic> data) {
|
||||
return AutofillGroupStateBase();
|
||||
}
|
||||
factory AutofillGroupStateBase.fromJson(Map<String, dynamic> data) {
|
||||
return AutofillGroupStateBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
State associated with an [AutofillGroup] widget.
|
||||
|
||||
{@template flutter.widgets.autofill.AutofillGroupState}
|
||||
@@ -27,13 +27,13 @@ with the platform's text input system.
|
||||
Typically obtained using [AutofillGroup.of].
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AutofillHintsBase extends BaseWidget {
|
||||
AutofillHintsBase();
|
||||
AutofillHintsBase();
|
||||
|
||||
factory AutofillHintsBase.fromJson(Map<String, dynamic> data) {
|
||||
return AutofillHintsBase();
|
||||
}
|
||||
factory AutofillHintsBase.fromJson(Map<String, dynamic> data) {
|
||||
return AutofillHintsBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A collection of commonly used autofill hint strings on different platforms.
|
||||
|
||||
Each hint is pre-defined on at least one supported platform. See their
|
||||
@@ -16,13 +16,13 @@ documentation for their availability on each platform, and the platform
|
||||
values each autofill hint corresponds to.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AutomaticKeepAliveBase extends BaseWidget {
|
||||
AutomaticKeepAliveBase();
|
||||
AutomaticKeepAliveBase();
|
||||
|
||||
factory AutomaticKeepAliveBase.fromJson(Map<String, dynamic> data) {
|
||||
return AutomaticKeepAliveBase();
|
||||
}
|
||||
factory AutomaticKeepAliveBase.fromJson(Map<String, dynamic> data) {
|
||||
return AutomaticKeepAliveBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Allows subtrees to request to be kept alive in lazy lists.
|
||||
|
||||
This widget is like [KeepAlive] but instead of being explicitly configured,
|
||||
@@ -22,13 +22,13 @@ sent a [KeepAliveNotification] and not yet triggered its
|
||||
To send these notifications, consider using [AutomaticKeepAliveClientMixin].
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class AutomaticNotchedShapeBase extends BaseWidget {
|
||||
AutomaticNotchedShapeBase();
|
||||
AutomaticNotchedShapeBase();
|
||||
|
||||
factory AutomaticNotchedShapeBase.fromJson(Map<String, dynamic> data) {
|
||||
return AutomaticNotchedShapeBase();
|
||||
}
|
||||
factory AutomaticNotchedShapeBase.fromJson(Map<String, dynamic> data) {
|
||||
return AutomaticNotchedShapeBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A [NotchedShape] created from [ShapeBorder]s.
|
||||
|
||||
Two shapes can be provided. The [host] is the shape of the widget that
|
||||
@@ -17,13 +17,13 @@ subtracted from the [host] to create the notch (typically to make room
|
||||
for a [FloatingActionButton]).
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class BackButtonBase extends BaseWidget {
|
||||
BackButtonBase();
|
||||
BackButtonBase();
|
||||
|
||||
factory BackButtonBase.fromJson(Map<String, dynamic> data) {
|
||||
return BackButtonBase();
|
||||
}
|
||||
factory BackButtonBase.fromJson(Map<String, dynamic> data) {
|
||||
return BackButtonBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A material design back button.
|
||||
|
||||
A [BackButton] is an [IconButton] with a "back" icon appropriate for the
|
||||
@@ -37,13 +37,13 @@ See also:
|
||||
node pages in the navigation tree.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class BackButtonIconBase extends BaseWidget {
|
||||
BackButtonIconBase();
|
||||
BackButtonIconBase();
|
||||
|
||||
factory BackButtonIconBase.fromJson(Map<String, dynamic> data) {
|
||||
return BackButtonIconBase();
|
||||
}
|
||||
factory BackButtonIconBase.fromJson(Map<String, dynamic> data) {
|
||||
return BackButtonIconBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A "back" icon that's appropriate for the current [TargetPlatform].
|
||||
|
||||
The current platform is determined by querying for the ambient [Theme].
|
||||
@@ -23,13 +23,13 @@ See also:
|
||||
* [ThemeData.platform], which specifies the current platform.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class BackdropFilterBase extends BaseWidget {
|
||||
BackdropFilterBase();
|
||||
BackdropFilterBase();
|
||||
|
||||
factory BackdropFilterBase.fromJson(Map<String, dynamic> data) {
|
||||
return BackdropFilterBase();
|
||||
}
|
||||
factory BackdropFilterBase.fromJson(Map<String, dynamic> data) {
|
||||
return BackdropFilterBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A widget that applies a filter to the existing painted content and then
|
||||
paints [child].
|
||||
|
||||
@@ -64,13 +64,13 @@ See also:
|
||||
* [Opacity], which changes the opacity of the widget itself.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,24 +1,24 @@
|
||||
import '../base.dart';
|
||||
|
||||
class BackdropFilterLayerBase extends BaseWidget {
|
||||
BackdropFilterLayerBase();
|
||||
BackdropFilterLayerBase();
|
||||
|
||||
factory BackdropFilterLayerBase.fromJson(Map<String, dynamic> data) {
|
||||
return BackdropFilterLayerBase();
|
||||
}
|
||||
factory BackdropFilterLayerBase.fromJson(Map<String, dynamic> data) {
|
||||
return BackdropFilterLayerBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A composited layer that applies a filter to the existing contents of the scene.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class BallisticScrollActivityBase extends BaseWidget {
|
||||
BallisticScrollActivityBase();
|
||||
BallisticScrollActivityBase();
|
||||
|
||||
factory BallisticScrollActivityBase.fromJson(Map<String, dynamic> data) {
|
||||
return BallisticScrollActivityBase();
|
||||
}
|
||||
factory BallisticScrollActivityBase.fromJson(Map<String, dynamic> data) {
|
||||
return BallisticScrollActivityBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
An activity that animates a scroll view based on a physics [Simulation].
|
||||
|
||||
A [BallisticScrollActivity] is typically used when the user lifts their
|
||||
@@ -24,13 +24,13 @@ See also:
|
||||
animation parameters.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class BannerBase extends BaseWidget {
|
||||
BannerBase();
|
||||
BannerBase();
|
||||
|
||||
factory BannerBase.fromJson(Map<String, dynamic> data) {
|
||||
return BannerBase();
|
||||
}
|
||||
factory BannerBase.fromJson(Map<String, dynamic> data) {
|
||||
return BannerBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Displays a diagonal message above the corner of another widget.
|
||||
|
||||
Useful for showing the execution mode of an app (e.g., that asserts are
|
||||
@@ -20,13 +20,13 @@ See also:
|
||||
debug mode, to show a banner that says "DEBUG".
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,24 +1,24 @@
|
||||
import '../base.dart';
|
||||
|
||||
class BannerPainterBase extends BaseWidget {
|
||||
BannerPainterBase();
|
||||
BannerPainterBase();
|
||||
|
||||
factory BannerPainterBase.fromJson(Map<String, dynamic> data) {
|
||||
return BannerPainterBase();
|
||||
}
|
||||
factory BannerPainterBase.fromJson(Map<String, dynamic> data) {
|
||||
return BannerPainterBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Paints a [Banner].
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class BaselineBase extends BaseWidget {
|
||||
BaselineBase();
|
||||
BaselineBase();
|
||||
|
||||
factory BaselineBase.fromJson(Map<String, dynamic> data) {
|
||||
return BaselineBase();
|
||||
}
|
||||
factory BaselineBase.fromJson(Map<String, dynamic> data) {
|
||||
return BaselineBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A widget that positions its child according to the child's baseline.
|
||||
|
||||
This widget shifts the child down such that the child's baseline (or the
|
||||
@@ -26,13 +26,13 @@ See also:
|
||||
* The [catalog of layout widgets](https://flutter.dev/widgets/layout/).
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class BasicMessageChannelBase extends BaseWidget {
|
||||
BasicMessageChannelBase();
|
||||
BasicMessageChannelBase();
|
||||
|
||||
factory BasicMessageChannelBase.fromJson(Map<String, dynamic> data) {
|
||||
return BasicMessageChannelBase();
|
||||
}
|
||||
factory BasicMessageChannelBase.fromJson(Map<String, dynamic> data) {
|
||||
return BasicMessageChannelBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A named channel for communicating with platform plugins using asynchronous
|
||||
message passing.
|
||||
|
||||
@@ -28,13 +28,13 @@ channels will interfere with each other's communication.
|
||||
See: <https://flutter.dev/platform-channels/>
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class BeveledRectangleBorderBase extends BaseWidget {
|
||||
BeveledRectangleBorderBase();
|
||||
BeveledRectangleBorderBase();
|
||||
|
||||
factory BeveledRectangleBorderBase.fromJson(Map<String, dynamic> data) {
|
||||
return BeveledRectangleBorderBase();
|
||||
}
|
||||
factory BeveledRectangleBorderBase.fromJson(Map<String, dynamic> data) {
|
||||
return BeveledRectangleBorderBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A rectangular border with flattened or "beveled" corners.
|
||||
|
||||
The line segments that connect the rectangle's four sides will
|
||||
@@ -18,13 +18,13 @@ exceed the sides' half widths/heights the resulting shape is
|
||||
diamond made by connecting the centers of the sides.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class BinaryCodecBase extends BaseWidget {
|
||||
BinaryCodecBase();
|
||||
BinaryCodecBase();
|
||||
|
||||
factory BinaryCodecBase.fromJson(Map<String, dynamic> data) {
|
||||
return BinaryCodecBase();
|
||||
}
|
||||
factory BinaryCodecBase.fromJson(Map<String, dynamic> data) {
|
||||
return BinaryCodecBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
[MessageCodec] with unencoded binary messages represented using [ByteData].
|
||||
|
||||
On Android, messages will be represented using `java.nio.ByteBuffer`.
|
||||
@@ -19,13 +19,13 @@ as opposed to indirect. The `wrap()` API provides indirect buffers by default
|
||||
and you will get empty `ByteData` objects in Dart.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class BinaryMessagesBase extends BaseWidget {
|
||||
BinaryMessagesBase();
|
||||
BinaryMessagesBase();
|
||||
|
||||
factory BinaryMessagesBase.fromJson(Map<String, dynamic> data) {
|
||||
return BinaryMessagesBase();
|
||||
}
|
||||
factory BinaryMessagesBase.fromJson(Map<String, dynamic> data) {
|
||||
return BinaryMessagesBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Sends binary messages to and receives binary messages from platform plugins.
|
||||
|
||||
This class has been deprecated in favor of [defaultBinaryMessenger]. New
|
||||
@@ -26,13 +26,13 @@ See also:
|
||||
* <https://flutter.dev/platform-channels/>
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,24 +1,24 @@
|
||||
import '../base.dart';
|
||||
|
||||
class BitFieldBase extends BaseWidget {
|
||||
BitFieldBase();
|
||||
BitFieldBase();
|
||||
|
||||
factory BitFieldBase.fromJson(Map<String, dynamic> data) {
|
||||
return BitFieldBase();
|
||||
}
|
||||
factory BitFieldBase.fromJson(Map<String, dynamic> data) {
|
||||
return BitFieldBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
The dart:io implementation of [bitfield.Bitfield].
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
+16
-15
@@ -1,24 +1,25 @@
|
||||
import '../base.dart';
|
||||
|
||||
class BlacklistingTextInputFormatterBase extends BaseWidget {
|
||||
BlacklistingTextInputFormatterBase();
|
||||
BlacklistingTextInputFormatterBase();
|
||||
|
||||
factory BlacklistingTextInputFormatterBase.fromJson(Map<String, dynamic> data) {
|
||||
return BlacklistingTextInputFormatterBase();
|
||||
}
|
||||
factory BlacklistingTextInputFormatterBase.fromJson(
|
||||
Map<String, dynamic> data) {
|
||||
return BlacklistingTextInputFormatterBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
Old name for [FilteringTextInputFormatter.deny].
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class BlockSemanticsBase extends BaseWidget {
|
||||
BlockSemanticsBase();
|
||||
BlockSemanticsBase();
|
||||
|
||||
factory BlockSemanticsBase.fromJson(Map<String, dynamic> data) {
|
||||
return BlockSemanticsBase();
|
||||
}
|
||||
factory BlockSemanticsBase.fromJson(Map<String, dynamic> data) {
|
||||
return BlockSemanticsBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A widget that drops the semantics of all widget that were painted before it
|
||||
in the same semantic container.
|
||||
|
||||
@@ -23,13 +23,13 @@ See also:
|
||||
* [ExcludeSemantics] which drops all semantics of its descendants.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import '../base.dart';
|
||||
|
||||
class BorderBase extends BaseWidget {
|
||||
BorderBase();
|
||||
BorderBase();
|
||||
|
||||
factory BorderBase.fromJson(Map<String, dynamic> data) {
|
||||
return BorderBase();
|
||||
}
|
||||
factory BorderBase.fromJson(Map<String, dynamic> data) {
|
||||
return BorderBase();
|
||||
}
|
||||
|
||||
@override
|
||||
String get description => r"""
|
||||
@override
|
||||
String get description => r"""
|
||||
A border of a box, comprised of four sides: top, right, bottom, left.
|
||||
|
||||
The sides are represented by [BorderSide] objects.
|
||||
@@ -72,13 +72,13 @@ See also:
|
||||
to use for borders in a material app, as shown in the "divider" sample above.
|
||||
""";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return {};
|
||||
}
|
||||
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
@override
|
||||
Widget render(BuildContext context) {
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user