Tag:Lao Meng

  • [actual combat] custom scroll bar

    Time:2021-10-2

    Lao Meng‘s Guide: [actual combat] series address:http://laomengit.com/guide/introduction/mobile_system.html By default, the scrolling component of fluent (such as listview) does not display a scroll bar. UseScrollbarShow scroll bar: Scrollbar( child: ListView.builder( reverse: false, itemBuilder: (BuildContext context, int index) { return Card( child: Container( height: 45, alignment: Alignment.center, child: Text(‘$index’), ), ); }, itemCount: 30, itemExtent: 50, ), […]

  • Do you have to learn all the components in fluent?

    Time:2021-9-30

    Everything is in fluentassembly, there are only subclasses and indirect subclasses of widgets350Multiple, organizedFluent component inheritance diagramIt can help you better understand and learn flutter and get back to the point. If you learn so many components, do you really need to learn more than 350 components? There is a famous in economicspareto principle The […]

  • Why do I think flutter is the future of mobile application development

    Time:2021-9-28

    Lao Meng‘s Guide: This is an excellent article translated by Lao Meng. This article has a total of 3.6k praise. Join Lao Meng’s fluent exchange group (Wx: laomengit) and make no mistakes in wonderful articles. Original address:https://medium.com/free-code-… A few years ago, I used java and Objective-C to get involved in Android and IOS development. After […]

  • Fluent vs react native vs native: depth performance comparison

    Time:2021-9-23

    Lao Meng Guide: This is a paid article translated by Lao Meng. The ownership of the article belongs to the original author. Welcome to Lao Meng’s flutter exchange group and translate 2-3 paid articles every week. You can’t miss it. Original address:https://medium.com/swlh/flutt… Let’s compare the FPS, CPU, memory and GPU performance of popular mobile development […]

  • Fluent vs native and react native: check performance

    Time:2021-9-22

    Lao Meng Guide: This is a paid article translated by Lao Meng. The ownership of the article belongs to the original author. Welcome to Lao Meng’s flutter exchange group and translate 2-3 paid articles every week. You can’t miss it. Original address:https://medium.com/swlh/flutt… Today, some of the most popular solutions for building mobile applications are native […]

  • Fluent – ide shortcut for rapid development

    Time:2021-9-19

    Lao Meng Guide: This is a fine article translated by Lao Meng. The ownership of the article belongs to the original author. Welcome to Lao Meng’s flutter exchange group and translate 2-3 paid articles every week. You can’t miss it. Original address:https://medium.com/flutter-co… If you are a beginner in fluent, you must hate nested structures. How […]

  • Advanced usage of gradients in fluent

    Time:2021-9-16

    There are three gradients in fluent: LinearGradient: linear gradient RadialGradient: radial gradient Sweepgradient: Fan gradient Look at the original image. The following gradients are completed on the basis of this image. LinearGradient Add a linear gradient from top to bottom to a picture: ShaderMask( shaderCallback: (Rect bounds) { return LinearGradient( begin: Alignment.topCenter, end: Alignment.bottomCenter, colors: […]

  • Flyter 1.17 pre built animation for the new material motion specification

    Time:2021-9-8

    Lao Meng: at the flutter 1.17 release conference, the flutter team also released a new animations software package, which provides pre built animation to realize the new material motion specification. Package pub address:https://pub.dev/packages/animations Material motion specification:https://material.io/design/motion/the-motion-system.html To import a plug-in, please check the latest version number on the pub: animations: ^1.1.1 Container transform The container […]

  • Shadermask of flutter widgets

    Time:2021-7-23

    Shadermask of flutter widgets Shadermask allows us to use shader on any control. For example, we can use shadermask to implement gradient on text ShaderMask( shaderCallback: (Rect bounds) { return RadialGradient( center: Alignment.topLeft, radius: 1.0, colors: <Color>[Colors.yellow, Colors.deepOrange], tileMode: TileMode.mirror, ).createShader(bounds); }, blendMode: BlendMode.srcATop, Child: text (‘lao Meng, a programmer with attitude ‘, style: TextStyle […]

  • Flutter datatable this is enough

    Time:2021-7-12

    Note: without special instructions, the version of flutter and dart are as follows: Flutter version: 1.12.13 + hotfix. 5 Dart version: 2.7.0 DataTable Datatable control displays table data. Datatable needs to set rows and columns. The usage is as follows: DataTable( columns: [ DataColumn (label: text (‘name ‘), Data column (label: text (‘age ‘), ], […]

  • Flutter customscrollview control

    Time:2021-4-17

    Lao Meng‘s Guide: Happy 51 holiday is over, switch to effort mode. Today, I’d like to share with you the customscrollview component, which will be often used in future projects. Customscrollview is like an adhesive, which can glue multiple components together with a unified rolling effect. CustomScrollView Customscrollview is a scrolling component that uses the […]

  • Nestedscrollview, a required component for the home page of flutter

    Time:2021-4-12

    Mr. Meng: yesterday, version 1.17 of flutter was heavily released. The new version is mainly to optimize performance and fix bugs. Some people think that this version has no bright spot, but it also reflects that flutter is relatively perfect for mobile terminals. If you want to know the specific content, there is a link […]