Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Flutter
(edit)
Revision as of 08:37, 22 October 2019
304 bytes added
,
08:37, 22 October 2019
m
→Built Value Android Studio Live Templates
Line 10:
Line 10:
<br />
<br />
−
== Built Value Android Studio Live Templates ==
+
==Built Value Android Studio Live Templates==
File > Settings > Editor > Live Templates
File > Settings > Editor > Live Templates
−
* Abbreviation blth
+
=== Built Value Header ===
−
* Description Built Value Header
+
+
*Abbreviation blth
+
*Description Built Value Header
<syntaxhighlight lang="dart">
<syntaxhighlight lang="dart">
library $LIBRARY$;
library $LIBRARY$;
Line 23:
Line 25:
part '$LIBRARY$.g.dart';
part '$LIBRARY$.g.dart';
+
</syntaxhighlight>
+
+
=== Built Value ===
+
+
* Abbreviation blt
+
* Description Built Value
+
<syntaxhighlight lang="dart">
+
abstract class $NAME$ implements Built<$NAME$, $NAME$Builder> {
+
// fields go here
+
+
$NAME$._();
+
+
factory $NAME$([updates($NAME$Builder b)]) = _$$$NAME$;
+
}
</syntaxhighlight>
</syntaxhighlight>
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version